# HG changeset patch # User ximgchess # Date 1682354399 0 # Node ID 3b1dbe3fb91bc45475ac148ca576ebec03083120 # Parent 3af7a69bd3d693038dce9ea89040a9a15fc6bad2 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683 diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b pip_install.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pip_install.sh Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,13 @@ +#!/bin/bash + +if [[ $# -ne 1 ]]; then + echo "$0 requires the package as its only command line argument" + exit +fi + +VERSION=`python --version | awk '{split($2,a,"."); printf "%s.%s", a[1], a[2]}'` +PIPLOC=`which python | sed 's/bin\/python//g'` +PIPLOC=$PIPLOC/lib/python$VERSION/site-packages + +echo "Try installing $1 to $PIPLOC" +#pip install --target $PIPLOC $1 diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b saxswaxs/pipeline.yaml --- a/saxswaxs/pipeline.yaml Thu Apr 13 13:54:53 2023 +0000 +++ b/saxswaxs/pipeline.yaml Mon Apr 24 16:39:59 2023 +0000 @@ -2,9 +2,9 @@ # Download example data - common.URLReader: - url: https://gitlab01.classe.cornell.edu/api/v4/projects/308/repository/files/saxswaxs%2fdata.tar/raw?ref=main + url: https://gitlab01.classe.cornell.edu/api/v4/projects/308/repository/files/saxswaxs%2frawdata_test_1d.tar/raw?ref=main headers: - PRIVATE-TOKEN: GITLABTOKEN + PRIVATE-TOKEN: # your token here - common.URLResponseProcessor - common.ExtractArchiveWriter: filename: . diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b saxswaxs/reduce.xml --- a/saxswaxs/reduce.xml Thu Apr 13 13:54:53 2023 +0000 +++ b/saxswaxs/reduce.xml Mon Apr 24 16:39:59 2023 +0000 @@ -1,20 +1,17 @@ - chessanalysispipeline + chessanalysispipeline requests pyfai pydantic - nexusformat pipeline.yaml && - CHAP --config pipeline.yaml + CHAP --config '$__tool_directory__/pipeline.yaml' ]]> - diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/pipeline_combine.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/pipeline_combine.yaml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,16 @@ +pipeline: + + # Combine tomography stacks + - common.MultipleReader: + readers: + - NexusReader: + filename: reconstructed.nxs + - YAMLReader: + filename: combine.yaml + schema: TomoCombineConfig + - tomo.TomoDataProcessor: + output_folder: tomo_combine_plots + save_figs: 'only' + - common.NexusWriter: + filename: output.nxs + force_overwrite: true diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/pipeline_find_center.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/pipeline_find_center.yaml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,16 @@ +pipeline: + + # Find rotation axis centers for the tomography stacks + - common.MultipleReader: + readers: + - NexusReader: + filename: reduced.nxs + - YAMLReader: + filename: find_center.yaml + schema: TomoFindCenterConfig + - tomo.TomoDataProcessor: + output_folder: tomo_find_center_plots + save_figs: 'only' + - common.YAMLWriter: + filename: output.yaml + force_overwrite: true diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/pipeline_reconstruct.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/pipeline_reconstruct.yaml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,19 @@ +pipeline: + + # Reconstruct tomography stacks + - common.MultipleReader: + readers: + - NexusReader: + filename: reduced.nxs + - YAMLReader: + filename: reconstruct.yaml + schema: TomoReconstructConfig + - YAMLReader: + filename: centers.yaml + schema: TomoFindCenterConfig + - tomo.TomoDataProcessor: + output_folder: tomo_reconstruct_plots + save_figs: 'only' + - common.NexusWriter: + filename: output.nxs + force_overwrite: true diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/tomo_combine.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/tomo_combine.xml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,83 @@ + + Combine tomography stacks + + tomo_macros.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/tomo_find_center.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/tomo_find_center.xml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,63 @@ + + Find rotation axis centers for the tomography stacks + + tomo_macros.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/tomo_macros.xml --- a/tomo/tomo_macros.xml Thu Apr 13 13:54:53 2023 +0000 +++ b/tomo/tomo_macros.xml Mon Apr 24 16:39:59 2023 +0000 @@ -4,7 +4,7 @@ 3.9 - chessanalysispipeline + chessanalysispipeline lmfit matplotlib nexusformat diff -r 3af7a69bd3d6 -r 3b1dbe3fb91b tomo/tomo_reconstruct.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomo/tomo_reconstruct.xml Mon Apr 24 16:39:59 2023 +0000 @@ -0,0 +1,85 @@ + + Reconstruct tomography stacks + + tomo_macros.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +