Commit c92be9b7 authored by payno's avatar payno
Browse files

fix typo estWriter -> XASWriter

parent f31c1689
Pipeline #14812 failed with stage
in 5 minutes and 54 seconds
......@@ -32,7 +32,7 @@ import shutil
import tempfile
import unittest
import numpy
from est.core.io import estWriter
from est.core.io import XASWriter
from est.core.types import XASObject
from est.core.utils import spectra as spectra_utils
import urllib.request
......
......@@ -32,7 +32,7 @@ import h5py
import numpy
import os
import unittest
from est.core.io import estWriter
from est.core.io import XASWriter
from est.core.io import read as read_xas
from est.core.utils import spectra as spectra_utils
from est.core.types import XASObject
......
......@@ -38,7 +38,7 @@ import h5py
from silx.io.dictdump import h5todict
from silx.io.url import DataUrl
from est.core.process.roi import est_roi, _ROI as XASROI
from est.core.io import estWriter
from est.core.io import XASWriter
from est.core.io import read as read_xas
from est.core.types import XASObject
from est.core.utils import spectra as spectra_utils
......
......@@ -31,7 +31,7 @@ import os
import tempfile
import shutil
from est.core.types import Spectrum, XASObject
from est.core.io import estWriter
from est.core.io import XASWriter
try:
import larch
except ImportError:
......
......@@ -344,7 +344,7 @@ class XASObject(object):
def dump(self, h5_file):
"""dump the XAS object to a file_path within the Nexus format"""
from est.core.io import estWriter
from est.core.io import XASWriter
writer = XASWriter()
# dump raw data
writer.output_file = h5_file
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment