Project

General

Profile

Feature #5099

Add ability to accept cubelists as input to qview

Added by Kristin Berry 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Applications
Target version:
Impact:

Minimal -- Added functionality should have minimal impact

Software Version:
Test Reviewer:

Description

It would be great to be able to run:

qview cubes.lis

To open all of the cubes in a list in qview.

Alternatively, it could use the ISIS3 command-line application syntax of:

qview -batchlist=cubes.lis. 

Right now to open a list of cubes, I open qview first, and then run the following in a bash shell:

  for i in `cat cubelist.lis`; do qview $i; done

Related issues

Related to ISIS - Documentation #5140: Document new qview feature: creating cubelists from open cube. Acknowledged

History

#1 Updated by Kristin Berry 6 months ago

  • Subject changed from Add ability to accept cubelists to qview to Add ability to accept cubelists as input to qview

#2 Updated by Tammy Becker 6 months ago

  • Category set to Applications
  • Status changed from New to Acknowledged

#3 Updated by Stuart Sides 5 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Adam Goins
  • Target version set to 3.5.2 (2017-01-31 Jan)

#4 Updated by Adam Goins 5 months ago

  • Status changed from Assigned to In Progress

#5 Updated by Adam Goins 5 months ago

  • Status changed from In Progress to Resolved
  • Impact updated (diff)

Cubelists (.lis) files can now be opened in the same fashion as cube (.cub) files.

From terminal, qview MyExampleCubeList.lis will open every cube inside of the cubelist.

From the GUI, .lis files have been added to the "open" and "browse" file filters to allow them to be opened from the UI as well.

#6 Updated by Lynn Weller 5 months ago

Hi Adam,

Could you build this (and maybe the other qview posts you just updated) for the astrovm4 operating system (CentOS7 I believe) so I and some others can test the changes?
You might have to touch base with Stuart to find out how to do this. Thanks!

#7 Updated by Kristin Berry 5 months ago

Don't worry about keeping a version built for Fedora21 around for me for testing -- since I'm remote, I just pull down your changes and rebuild locally.

#8 Updated by Kristin Berry 5 months ago

And to build for astrovm4, you can ssh into prog24 and then re-build /work/projects/isis/latest/m05099/isis

#9 Updated by Adam Goins 5 months ago

The 3 relative qview tickets have been rebuilt on the prog24 vm.
Thank you!

#10 Updated by Robert Sucharski 5 months ago

Ran test on CTX dataset and MESSENGER dataset(level one and level two images), both worked will. This is a very cool feature.

#11 Updated by Kristin Berry 5 months ago

I also tested this and it looks great! Thanks for adding this feature!

#13 Updated by Tammy Becker 5 months ago

This worked well with a list of filenames that included a directory path as well as images in the current local directory. As long as the filename of my list ended in a .lis extension.

I copied my successful (local.lis) to another filename local.lst (failed), local.dat (failed), local.txt (failed). At a minimum, if there is a file extension requirement, the user must be educated. The error popup only says that there are no cubes to open. I just got lucky that my personal user habit specifies the .lis extension.

It would be preferred to allow for any extension (except .cub?)...

Where will this new feature be documented?

Thank you!

#14 Updated by Tammy Becker 5 months ago

  • Status changed from Resolved to Feedback

#15 Updated by Adam Goins 5 months ago

  • Status changed from Feedback to Resolved

qview now accepts cubelists under any extension (i.e .lis, .lis, .txt, etc)

If an error is encountered opening a cube from a list the user will be prompted to decide if they want qview to try to continue opening the rest of the cubes from that cubelist or not.

#16 Updated by Tammy Becker 5 months ago

  • Related to Documentation #5140: Document new qview feature: creating cubelists from open cube. added

#17 Updated by Makayla Shepherd 4 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF