Skip to content

Commit 4a1ee18

Browse files
committed
change: change structure so load_data is back in parsers
1 parent 0b46822 commit 4a1ee18

File tree

5 files changed

+191
-355
lines changed

5 files changed

+191
-355
lines changed

src/diffpy/utils/parsers/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66
# (c) 2010 The Trustees of Columbia University
77
# in the City of New York. All rights reserved.
88
#
9-
# File coded by: Chris Farrow
9+
# File coded by: Simon Billinge
1010
#
1111
# See AUTHORS.txt for a list of people who contributed.
1212
# See LICENSE_DANSE.txt for license information.
1313
#
1414
##############################################################################
1515
"""Various utilities related to data parsing and manipulation."""
16+
17+
# this allows load_data to be imported from diffpy.utils.parsers
18+
# it is needed during deprecation of the old loadData structure
19+
# when we remove loadData we can move all the parser functionality
20+
# a parsers.py module (like tools.py) and remove this if we want
21+
from .loaddata import load_data
22+
23+
__all__ = ["load_data"]

0 commit comments

Comments
 (0)