-
Notifications
You must be signed in to change notification settings - Fork 1
Add configuration for DESPIAD project #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 31 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
54eb64f
Add initial anonymisation config for ct
p-j-smith 2730317
Add initial anonymisation config for pet
p-j-smith ff2a8c3
Add config for despiad
p-j-smith f20d5b8
anonymnise all resources before notifying the export api
p-j-smith d13b916
remove despaid.yaml from project config
p-j-smith 6097314
Merge branch 'main' into paul/despiad-config
p-j-smith 8a4a793
Merge branch 'main' into paul/despiad-config
p-j-smith 01bf793
generate label based on patient id and study count in xnat project
p-j-smith 5a47136
Use pseudo-anonymised StudyInstanceUID for xnat experiment label
p-j-smith 28f92a6
Fix XNAT destination
p-j-smith 901eaf1
Merge branch 'main' into paul/despiad-config
p-j-smith 4fd226a
remove changes related to grouping resources before notifying export api
p-j-smith c2fcbe4
remove duplicated tags
p-j-smith 5d3c69d
Add series_number_filters and allowed_manufacturers parameters to pix…
p-j-smith 32dd84f
clarify docstring of _import_study_from_raw
p-j-smith 7867eff
Add min_instances_per_series parameter to project config
p-j-smith 7215191
Merge branch 'main' into paul/despiad-config
p-j-smith 70d6794
Merge branch 'main' into paul/despiad-config
p-j-smith 0b90ddf
Merge branch 'main' into paul/despiad-config
p-j-smith 4cd4c7e
Keep study date and patient dob for despiad
p-j-smith 397c6b1
Changes after reviewing the PET data for DESPIAD (#592)
davecash75 b6bcb3c
Add Radiopharmaceutical Start DateTime to pet.yaml
p-j-smith ffeb70d
remove blank lines from ct.yaml
p-j-smith f6095a8
remove tab from config file
p-j-smith b231a60
filter series number by manufacturer
p-j-smith 5a9c52e
Add allowed_manufacturers for all test configs
p-j-smith f7d94e1
Count number of instances skipped due to series having too few instances
p-j-smith 1891df0
move get_series_to_skip to dcmd
p-j-smith 9597559
Add philips and carestream as allowed manufacturers for test project
p-j-smith 855f82d
Merge branch 'main' into paul/despiad-config
p-j-smith 5ea6418
Update description of project config in readme
p-j-smith aa170a6
Check _should_exclude_manufacurer before _should_exclude_series
p-j-smith f1eed49
filter out instance if manufacturer tag is missing
p-j-smith 46d2109
allow all manufacturers for existing projects
p-j-smith 09748bf
Merge branch 'main' into paul/despiad-config
p-j-smith 5d4232f
Merge branch 'main' into paul/despiad-config
p-j-smith b6872b9
Add tests for PixlConfig.is_manufacturer_allowed and PixlConfig.is_se…
p-j-smith 6b707cb
Add more tests for _should_exclude_series
p-j-smith a7c5917
Add tests for test_should_exclude_manufacturer
p-j-smith 7527b62
Add tests for get_series_to_skip
p-j-smith 4f59e79
Don't allow all manufacturers in the template config
p-j-smith 48b3fd7
Set min_instances to 2 for despiad
p-j-smith 332e648
Only allow manufacturer GE MEDICAL SYSTEMS for DESPIAD
p-j-smith ee5eb87
Keep Number of Time Slices attribute for PET
p-j-smith 2084bdb
set 'pydicom.config.convert_wrong_length_to_UN = True' in dcmd
p-j-smith fadc695
Add series filters to despiad config
p-j-smith c1bfc73
Add series number and description filers for despiad
p-j-smith ad91125
Use ints for series numbers to exclude
p-j-smith fe18df1
Update default config to exclude series with mip in their description
p-j-smith 9b749e6
Add ^company as an allowed manufacturer when testing anonymisation
p-j-smith eb4ee95
Use integers for series_number in tests
p-j-smith ecb04ce
set min_instances_per_series to 2 by default
p-j-smith caf101a
Set min_instances_per_series to 1 for testing
p-j-smith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2024 University College London Hospitals NHS Foundation Trust | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
project: | ||
name: "despiad" | ||
modalities: | ||
- "CT" | ||
p-j-smith marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- "PT" | ||
|
||
tag_operation_files: | ||
base: | ||
- "base.yaml" | ||
- "ct.yaml" | ||
- "pet.yaml" | ||
- "despiad.yaml" | ||
manufacturer_overrides: [] | ||
|
||
min_instances_per_series: 1 | ||
p-j-smith marked this conversation as resolved.
Show resolved
Hide resolved
|
||
series_filters: [] | ||
|
||
destination: | ||
dicom: "none" | ||
parquet: "none" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.