UTF-8 encoding

Issue #434 resolved
Ed McDonagh created an issue

No description provided.

Comments (17)

  1. Ed McDonagh reporter

    I think this is resolved now. Will continue to check when adding new tests. Particularly need to make sure I haven't messed up the latin-1 character sets that were previously fixed!

  2. Tim de Wit

    Just came across the following error message:

    Traceback (most recent call last):
      File "/usr/local/bin/openrem_mg.py", line 23, in <module>
      File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 191, in __call__
        return self._get_current_object()(*a, **kw)
      File "/usr/local/lib/python2.7/dist-packages/celery/app/task.py", line 379, in __call__
        return self.run(*args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/mam.py", line 577, in mam
      File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/mam.py", line 492, in _mammo2db
      File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/mam.py", line 465, in _create_event
        _irradiationeventxraydata(dataset, same_study_uid.get().projectionxrayradiationdose_set.get())
    TypeError: _irradiationeventxraydata() takes exactly 3 arguments (2 given)

    Solution: replace line 465 in mam.py by the following:

        ch = get_value_kw('SpecificCharacterSet', dataset)
        _irradiationeventxraydata(dataset, same_study_uid.get().projectionxrayradiationdose_set.get(), ch)
  3. Log in to comment