Skip to content

Update IO_test #4

@guiguem

Description

@guiguem

Now that we are using Cicada namespace as default (instead of Katydid), the IO_test fails as

======================================================================
ERROR: test_Cicada (__main__.IOTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "IO_test.py", line 26, in test_Cicada
    b.Run()
  File "/cvmfs/hep.pnnl.gov/project8/mermithid/v1.0.1/lib/python3.6/site-packages/morpho/processors/BaseProcessor.py", line 60, in Run
    if not self.InternalRun():
  File "/cvmfs/hep.pnnl.gov/project8/mermithid/v1.0.1/lib/python3.6/site-packages/morpho/processors/IO/IOProcessor.py", line 56, in InternalRun
    return self.Reader()
  File "/cvmfs/hep.pnnl.gov/project8/mermithid/v1.0.1/lib/python3.6/site-packages/mermithid/processors/IO/IOCicadaProcessor.py", line 31, in Reader
    self.data = ReadKTOutputFile(self.file_name,self.variables,katydid=self.use_katydid,objectType=self.object_type,name=self.object_name)
  File "/cvmfs/hep.pnnl.gov/project8/mermithid/v1.0.1/ReadKTOutputFile.py", line 41, in ReadKTOutputFile
    import ROOT.Katydid as KT
  File "/cvmfs/hep.pnnl.gov/project8/dependencies-common/build-2018-04-23/lib/ROOT.py", line 318, in _importhook
    return _orig_ihook( name, *args, **kwds )
ModuleNotFoundError: No module named 'ROOT.Katydid'; 'ROOT' is not a package

We need to replace the current Katydid output file in the repo by one created with a later version of Katydid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions