Commits

Chris Mutel committed 5a1ddf6

Change EcospoldImporter to Ecospold1Importer, in anticipation of Ecoinvent 3

  • Participants
  • Parent commits 7fb463d

Comments (0)

Files changed (2)

bw2data/io/__init__.py

 from bw2package import BW2PackageExporter, BW2PackageImporter, \
     download_biosphere, download_methods
 from export_gexf import DatabaseToGEXF
-from import_ecospold import EcospoldImporter
+from import_ecospold import Ecospold1Importer as EcospoldImporter
 from import_method import EcospoldImpactAssessmentImporter

bw2data/io/import_ecospold.py

         return data
 
 
-class EcospoldImporter(object):
+class Ecospold1Importer(object):
     """Import inventory datasets from ecospold XML format.
 
-    Does not have any arguments; instead, instantiate the class, and then import using the ``importer`` method, i.e. ``EcospoldImporter().importer(filepath)``."""
+    Does not have any arguments; instead, instantiate the class, and then import using the ``importer`` method, i.e. ``Ecospold1Importer().importer(filepath)``."""
     def importer(self, path, name, depends=["biosphere"]):
         """Import an inventory dataset, or a directory of inventory datasets.