Skip to content

Commit 6230a94

Browse files
committed
remove other mentions of pet metadata json file<
1 parent 0aaeb8b commit 6230a94

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

pypet2bids/poetry.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pypet2bids/pypet2bids/metadata_spreadsheet_example_reader.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55

66
try:
77
import helper_functions
8+
import metadata
89
except ModuleNotFoundError:
910
import pypet2bids.helper_functions as helper_functions
11+
import pypet2bids.metadata as metadata
1012

1113

1214
parent_dir = pathlib.Path(__file__).parent.resolve()
1315
project_dir = parent_dir.parent
14-
metadata_dir = join(project_dir, "metadata")
15-
pet_metadata_json = join(metadata_dir, "PET_metadata.json")
16-
permalink_pet_metadata_json = "https://github.com/openneuropet/PET2BIDS/blob/76d95cf65fa8a14f55a4405df3fdec705e2147cf/metadata/PET_metadata.json"
1716

1817
"""
1918

pypet2bids/pypet2bids/update_json_pet_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def check_json(
5151
:type spreadsheet_metadata:
5252
:param path_to_json: path to a json file e.g. a BIDS sidecar file created after running dcm2niix
5353
:param items_to_check: a dictionary with items to check for within that json. If None is supplied defaults to the
54-
PET_metadata.json contained in this repository
54+
PET_metadata imported from metadata.PET_metadata
5555
:param silent: Raises warnings or errors to stdout if this flag is set to True
5656
:return: dictionary of items existence and value state, if key is True/False there exists/(does not exist) a
5757
corresponding entry in the json the same can be said of value

0 commit comments

Comments
 (0)