diff --git a/modules/suvpar/README.md b/modules/suvpar/README.md new file mode 100644 index 0000000..92ce953 --- /dev/null +++ b/modules/suvpar/README.md @@ -0,0 +1,24 @@ +# SUVPaR: Scanner Usage Visualization with PACS and RIS data + +This is a module that utilizes Niffler's other modules and (https://github.com/sharmalab/eaglescope)[Eaglescope] to +visualize MRI Scanner Usage. + + +# Configuring Niffler SUVPaR + +Find the config.json file in the folder and modify accordingly. + +* *InputFile*: The metadata in a csv file, as produced by the cold-extraction -> png-extraction workflow. + +* *OutputFile*: The output csv file with just the properties listed in the FeaturesetFile. + +* *FeaturesetFile*: The subset of the properties that must be stored in the OutputFile. + + +# Running Niffler SUVPaR + +First, to run the script to trim the file. + +```` +$ python3 Strip.py +```` \ No newline at end of file diff --git a/modules/app-layer/Strip.py b/modules/suvpar/Strip.py similarity index 92% rename from modules/app-layer/Strip.py rename to modules/suvpar/Strip.py index f9963f3..7333283 100644 --- a/modules/app-layer/Strip.py +++ b/modules/suvpar/Strip.py @@ -9,7 +9,7 @@ def initialize_config_and_execute(): with open('config.json', 'r') as f: config = json.load(f) - feature_file = config['FeatureFile'] + feature_file = config['FeaturesetFile'] filename = config['InputFile'] output_csv = config['OutputFile'] diff --git a/modules/app-layer/config.json b/modules/suvpar/config.json similarity index 63% rename from modules/app-layer/config.json rename to modules/suvpar/config.json index ce37307..cc8ee2b 100644 --- a/modules/app-layer/config.json +++ b/modules/suvpar/config.json @@ -1,6 +1,6 @@ { "InputFile": "sample.csv", "OutputFile": "output.csv", - "FeatureFile": "featureset.txt" + "FeaturesetFile": "featureset.txt" } diff --git a/modules/app-layer/featureset.txt b/modules/suvpar/featureset.txt similarity index 100% rename from modules/app-layer/featureset.txt rename to modules/suvpar/featureset.txt diff --git a/modules/app-layer/sample.csv b/modules/suvpar/sample.csv similarity index 100% rename from modules/app-layer/sample.csv rename to modules/suvpar/sample.csv