Project

General

Profile

Bug #4272

caminfo - csv output has empty lines between valid lines of output

Added by Lynn Weller over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Low
Assignee:
John Bonn
Category:
Applications
Target version:
Impact:
Test Reviewer:

Description

This appears to be a very old bug.

When run with a batchlist and append=true, the output flattfile (.csv) has a blank line following each line of valid output information, except for the last image in the list. If 3 files are processed, then the output csv will have 6 lines - heading, file1 data, blank line, file2 data, blank line, file3 data. There should be no blank lines between valid lines of output.

Test data can be found under /work/users/lweller/Isis3Tests/Caminfo/CSV/. I ran a couple of tests, each having similar results:
caminfo from=\$1 to=out_stats.csv format=flat append=true geometry=false statistics=true -batchlist=cubs.lis
caminfo from=\$1 to=out_geometry.csv format=flat append=true geometry=true -batchlist=cubs.lis

I run this program frequently, but my output is always the default PVL format. I am suprised no one has caught this sooner.

History

#1 Updated by Lynn Weller over 1 year ago

  • Subject changed from caminfo - csv output has empty lines to caminfo - csv output has empty lines between valid lines of output

#2 Updated by Tammy Becker over 1 year ago

  • Status changed from New to Acknowledged

Triaged at lower level based on user priority.

#3 Updated by Stuart Sides 10 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to John Bonn
  • Target version set to 3.5.1 (Sprint 1)

#4 Updated by John Bonn 10 months ago

  • Status changed from Assigned to In Progress

#5 Updated by John Bonn 10 months ago

  • Status changed from In Progress to Resolved

#6 Updated by Lynn Weller 10 months ago

I can't test the changes - doesn't look like the build under /work/projects/isis/latest/m04272/isis/ is for astrovm4:

setisis /work/projects/isis/latest/m04272/isis/
/work/projects/isis/latest/m04272/isis/bin/isiscomplete: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
/work/projects/isis/latest/m04272/isis/bin/isiscomplete: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
/work/projects/isis/latest/m04272/isis/bin/isiscomplete: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
/work/projects/isis/latest/m04272/isis/bin/isiscomplete: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory

#7 Updated by Lynn Weller 9 months ago

  • Status changed from Resolved to Feedback

#8 Updated by John Bonn 9 months ago

  • Status changed from Feedback to Resolved

It's been updated to run on astrovm4.

#10 Updated by Lynn Weller 8 months ago

  • Status changed from Resolved to Feedback

I've tested the updates and the extraneous empty lines are gone, at least for my two test cases (I have not tested every variation for this program).

#11 Updated by Lynn Weller 8 months ago

  • Status changed from Feedback to Closed

#12 Updated by Stuart Sides 4 months ago

  • Target version changed from 3.5.1 (Sprint 1) to 3.5.1 (2017-08-08 Aug)

Also available in: Atom PDF