Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
P pyOPALTools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1
    • Merge requests 1
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • pyOPALTools
  • Issues
  • #4

Closed
Open
Created Nov 01, 2017 by adelmann@adelmann🎗Owner

testStat-1.py

Seams to be confused with new SDDS reader

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-90-5eae613b6252> in <module>()
      1 import statPlots as statpl
      2 
----> 3 statpl.opalStatOverviewPlot(fns)

~/git/pyOPALTools/statPlots.py in opalStatOverviewPlot(fns, title, pdfFn, addData, myLoc)
     93         dataSrc.append(legendName)
     94 
---> 95         parser = SddsReader(fns[i])
     96 
     97         if not x:

~/git/pyOPALTools/utils.py in __init__(self, filename)
    171 
    172         self.memoryMapFile(filename)
--> 173         self.parseHeader()
    174 
    175 

~/git/pyOPALTools/utils.py in parseHeader(self)
    277 
    278             else:
--> 279                 raise Exception("Invalid syntax in SDDS header")
    280 
    281             line = self.sdds_data_mem.readline()

Exception: Invalid syntax in SDDS header
Edited Nov 06, 2017 by snuverink_j
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking