-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Describe the bug
The following PVL fails to parse, presumably because of the keyword 'Group' inside a canonical Group.
To Reproduce
import pvl
pvl.loads("""
Group = Keyword1
Auto
InputKey = CSMPlatformId
InputGroup = "IsisCube,CsmInfo"
InputPosition = (IsisCube, CsmInfo)
OutputName = Keyword1
OutputPosition = (Group, SerialNumberKeywords)
Translation = (* , *)
End_Group
Group = Keyword2
Auto
InputKey = CSMInstrumentId
InputGroup = "IsisCube,CsmInfo"
InputPosition = (IsisCube, CsmInfo)
OutputName = Keyword2
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Group = Keyword3
Auto
InputKey = ReferenceTime
InputGroup = "IsisCube,CsmInfo"
InputPosition = (IsisCube, CsmInfo)
OutputName = Keyword3
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
End
""")Perhaps I should be parameterizing differently?
Expected behavior
Instantiation of a PVL object.
Error logs or terminal captures
If applicable, add examples to help explain your problem.
Your Environment (please complete the following information):
- OS: Linux
- Environment information: Python 3.11
pvlVersion:1.3.2
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels