Translation files now being checked for validity when adding pvl tables via these files
PvlTranslationTable currently does not check a translation file for valid keywords as it does when it is given a stream
See PvlTranslationTable::AddTable(FileName transFile) and
The AddTable function should do the same checking when given a translation File as when it is given a stream.
#6 Updated by Summer Stapleton 24 days ago
- Status changed from In Progress to Resolved
- Impact updated (diff)
Changes made in /work/projects/isis/latest/m04900
I ended up separating the logic to validate a cube from the AddTable(std::istream &transStm) and made a validateTable() method that both AddTable() methods now call. The tgocassis2isis was the only app that I could find that made use of the AddTable(const QString &transFile), so I ran those app tests as well as the PvlTranslationTable test which made a call to the AddTable(std::istream &transStm), so should be working for both methods.