-
Notifications
You must be signed in to change notification settings - Fork 29
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
Convert specific file via CLI #142
Comments
Hi @TheChymera, Please try the following command: Could you run this and let me know if you're still encountering the issue? Looking forward to your feedback. |
@TheChymera, apologies for only reviewing your error message earlier and missing the comments. I've noted that some forks are downloading just the scan folder structure (//pdata/). Implementing a function to target individual scans seems like a valuable addition. I'm exploring the idea of restructuring my PvDataset object to separate scan and reco objects. This would enable image conversion or reconstruction at the individual scan folder level, rather than at the broader scan session (root folder) level. This update is in progress and should be part of the upcoming "v0.4.0" release. Additionally, regarding the direct conversion of 2dseq files without the necessary metadata, this indeed poses a challenge. A practical solution might be a simple script for conversion, provided the data matrix size and other metadata are known. Considering this, I could potentially develop a straightforward executable script to convert 2dseq files with given matrix sizes. This approach might be what you're looking for, and I can integrate this as a simple plugin, aligning with the plugin architecture currently being implemented in this project. |
@TheChymera The core module for handling individual files has been developed. Apologies for the delay. The updated version includes a new script called 'brk_tonifti', which addresses the cases you mentioned. It supports loading entire study directories, scan directories, reco directories, or even individual files like '2dseq', 'visu_pars', etc. The internal Python API is complete, and we expect the script files and documentation to be ready by mid-May. Significant changes have been made to the API. To indicate that this project has been addressed, I've marked this issue in the pull request concerning the updated API. All new code has been added as a separate module under both the API and the app, ensuring that the current version's functionality remains unaffected. |
This feature has not yet been integrated into the CLI. Please reopen this issue to ensure it is addressed appropriately. |
It's a bit confusing that this does not work, and instead I need to use the
--scanid
and--recoid
parameters from which the path then gets constructed, when it would be more transparent to just use the path explicitly.Would you be interested in supporting this?
The text was updated successfully, but these errors were encountered: