lib/metamri/raw_image_file.rb in metamri-0.2.19 vs lib/metamri/raw_image_file.rb in metamri-0.2.20
- old
+ new
@@ -117,10 +117,10 @@
import_hdr
rescue ScriptError, NoMethodError => e
# puts e.backtrace
raise e, "Could not find required DICOM Header Meta Element: #{e}"
rescue StandardError => e
- raise e, "Header import failed for file #{@filename}. #{e}"
+ raise e, "Header import failed for file #{@filename}. #{e} . Has the scanner software version changed? A new version of the p-file reading software (printraw or rdgehdr) might be needed. "
end
# deallocate the header data to save memory space.
@hdr_data = nil
end
\ No newline at end of file