How to load .1D.roi files using DriveSuma

AFNI_22.3.06:

Hi folks! I'm trying to use DriveSuma to load an (already-drawn) .1D.roi file. I'm envisioning the equivalent of the SUMA GUI operation that goes: SUMA → Tools→ Draw ROI → Load → (select .roi file)

So far, I've been able to load a .dset file using:
DriveSuma -com surf_cont -load_dset ~/Desktop/<filename>.lh.niml.dset

But can't seem to get an .roi file (which I've hand drawn in SUMA) to load. So far, I've been trying variations on:
DriveSuma -com surf_cont -load_masks <filename>.lh.1D.roi

I'm wondering if the problem is that I'm using the wrong load command, or whether DriveSuma can't open .roi files. If it's the latter, I'd love to hear what workarounds folks are using to view ROIs using DriveSuma, ideally in such a way that the ROIs can be simultaneously viewed with functional maps. I've wondered, for instance, whether the simplest thing would be to write code to convert the .roi files into .dset files.

Thanks very much for any feedback!
Anna

Almost everything you will do with the ROIs will probably be with those converted to datasets. Datasets, including ones from ROIs, can be combined with other datasets in the SUMA GUI. I recommend converting the ROI with ROI2dataset and then DriveSuma to show that. Be sure to turn the '1 only' box off. You may want to overlay the regions in colors or just show contours.

Just a quick note that the AFNI Academy video for drawing and dealing with ROIs on both SUMA surfaces and their volume-converted versions is here.

--pt

Great! Thanks very much to you both for the help!

Anna