Thanks to visit codestin.com
Credit goes to github.com

Skip to content

implement dax trial#520

Merged
bud42 merged 4 commits into
mainfrom
trial
Oct 7, 2025
Merged

implement dax trial#520
bud42 merged 4 commits into
mainfrom
trial

Conversation

@bud42

@bud42 bud42 commented Jul 31, 2025

Copy link
Copy Markdown
Member

dax trial is a new dax sub-command to create a “trial run” of a processor. It creates a single job in the main dax queue on REDCap where it is then handled by dax manager. The assessor created has a "TRIAL_" prefix to distinguish from normal runs of the processor.
Inputs to the command are the project name, yaml file name, and subject/session on XNAT.

For example,
dax trial -p PROJECTNAME -y fmri_v1.0.0.yaml -s 12345678
generates a subject assessor
PROJECTNAME-x-12345678-x-TRIAL_fmri_v1-x-UUID.

The command can be run on any workstation with the appropriate env vars configured for XNAT and REDCap. Thus, you can launch a near-production test of your processor without having to upload it or log on to the cluster or wait for dax manager to build.

@baxpr

baxpr commented Aug 2, 2025

Copy link
Copy Markdown
Member

@bud42 Gave it a try. Assessor was created on XNAT but then this:

$ dax trial -p GenFac_HWZ -s 142866 -y rois-GF-WM_v2.0.1.yaml 
INFO:dax:GenFac_HWZ:rois-GF-WM_v2.0.1.yaml:142866
INFO:dax:processor yaml is valid!
2025-08-02 07:45:41,384 - INFO - projectinfo - loading project info from XNAT:GenFac_HWZ
INFO:manager.rcq.projectinfo:loading project info from XNAT:GenFac_HWZ
INFO:dax:creating session asssessor:GenFac_HWZ-x-142866-x-142866-x-TRIAL_rois-GF-WM_v2-x-6677eb75:proc:genprocdata
INFO:dax:building task:GenFac_HWZ-x-142866-x-142866-x-TRIAL_rois-GF-WM_v2-x-6677eb75
trial failed:TrialBuilder._build_trial() got an unexpected keyword argument 'custom'

@bud42 bud42 merged commit 8f8dbe1 into main Oct 7, 2025
@bud42 bud42 deleted the trial branch October 7, 2025 17:04
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.

2 participants