Skip to content
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

[ENH] Add script to symlink Neurobagel query results on BIC #2

Merged
merged 5 commits into from
Nov 18, 2024

Conversation

alyssadai
Copy link
Contributor

@alyssadai alyssadai commented Nov 15, 2024

Example:

(base) alyssayd@login1:~/alyssa/scratch$ ./symlink_neurobagel_results_on_bic.sh test_query_tool_results/bic_only_results.tsv test_cohort
Symlink created at: /data/origami/alyssa/scratch/test_cohort/qpn/bids/sub-MNI0079/ses-01
Symlink created at: /data/origami/alyssa/scratch/test_cohort/qpn/bids/sub-PD01382/ses-01
Symlink created at: /data/origami/alyssa/scratch/test_cohort/qpn/bids/sub-PD01448/ses-01
(base) alyssayd@login1:~/alyssa/scratch$ tree test_cohort/
test_cohort/
└── qpn
    ├── bids
    │   ├── sub-MNI0079
    │   │   └── ses-01 -> /data/pd/qpn/bids/sub-MNI0079/ses-01
    │   ├── sub-PD01382
    │   │   └── ses-01 -> /data/pd/qpn/bids/sub-PD01382/ses-01
    │   └── sub-PD01448
    │       └── ses-01 -> /data/pd/qpn/bids/sub-PD01448/ses-01
    └── README.md

8 directories, 1 file

Checklist

This section is for the PR reviewer

  • PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
  • PR links to GitHub issue with mention Closes #XXXX
  • Tests pass
  • Checks pass

For new features:

  • Tests have been added

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

@alyssadai alyssadai requested a review from surchs November 15, 2024 22:35
@alyssadai alyssadai marked this pull request as ready for review November 15, 2024 22:35
Copy link
Collaborator

@surchs surchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alyssadai, this looks great

🧑‍🍳

@alyssadai alyssadai merged commit afaaa23 into main Nov 18, 2024
@alyssadai alyssadai deleted the add-bic-results-symlink-script branch November 18, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create script for accessing cohort query matches on BIC
2 participants