Skip to content

Commit

Permalink
note last tagged change, update copyright years
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jan 13, 2015
1 parent 0d9d705 commit 17854ea
Show file tree
Hide file tree
Showing 23 changed files with 56 additions and 57 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Change History
Production
**********

:2015.0113.0: dropped requirement of *lxml* package
:2014.1228.1: build mne:name cross-references for counters and positioners
:2014.1228.0: show version in documentation
:2014.1028.0: quietly ignore unrecognized scan content *for now*
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Converts SPEC data files and scans into NeXus HDF5 files

:author: Pete R. Jemian
:email: prjemian@gmail.com
:copyright: 2014, Pete R. Jemian
:copyright: 2014-2015, Pete R. Jemian
:license: Creative Commons Attribution 4.0 International Public License (see *LICENSE.txt*)
:URL: http://spec2nexus.readthedocs.org
:git: https://github.com/prjemian/spec2nexus
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/dev_h5toText.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/extractSpecScan.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/eznx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
20 changes: 10 additions & 10 deletions src/spec2nexus/plugin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------

'''
define the plug-in architecture
Expand All @@ -18,16 +28,6 @@
'''

#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------


import os #@UnusedImport
import sys #@UnusedImport
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
18 changes: 9 additions & 9 deletions src/spec2nexus/plugins/spec_common_spec2nexus.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
SPEC data file standard control lines
:see: SPEC manual, *Standard Data File Format*,
http://www.certif.com/spec_manual/user_1_4_1.html
'''

#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------

'''
SPEC data file standard control lines
:see: SPEC manual, *Standard Data File Format*,
http://www.certif.com/spec_manual/user_1_4_1.html
'''


import re
from spec2nexus.eznx import write_dataset, makeGroup, openGroup
Expand Down
18 changes: 9 additions & 9 deletions src/spec2nexus/plugins/uim_spec2nexus.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
**#UIM** : Image header information from EPICS areaDetector
:deprecated: in favor of UXML
'''

# TODO: for each ControlLineHandler, describe where data goes, both internally and in HDF5 file

#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------

'''
**#UIM** : Image header information from EPICS areaDetector
:deprecated: in favor of UXML
'''

# TODO: for each ControlLineHandler, describe where data goes, both internally and in HDF5 file

'''
#UIM Image header information from areaDetector
#UIM UIMR: ROI information, UIMC: image counter setup
Expand Down
17 changes: 8 additions & 9 deletions src/spec2nexus/plugins/unicat_spec2nexus.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
**#H** & **#V** - Metadata in SPEC data files as defined by APS UNICAT
Handles the UNICAT control lines which write additional metadata
in the scans using #H/#V pairs of labels/values.
'''


#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-----------------------------------------------------------------------------

'''
**#H** & **#V** - Metadata in SPEC data files as defined by APS UNICAT
Handles the UNICAT control lines which write additional metadata
in the scans using #H/#V pairs of labels/values.
'''


from spec2nexus.plugin import ControlLineHandler
from spec2nexus.utils import strip_first_word
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/prjPySpec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/test_extractSpecScan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/test_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down
3 changes: 1 addition & 2 deletions src/spec2nexus/uxml/test_uxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand All @@ -15,7 +15,6 @@

import unittest
import os
from spec2nexus import spec
from spec2nexus import writer
from spec2nexus.spec import SpecDataFile, SpecDataFileScan
from lxml import etree
Expand Down
4 changes: 2 additions & 2 deletions src/spec2nexus/uxml/uxml_spec2nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand All @@ -68,7 +68,7 @@

from spec2nexus.plugin import ControlLineHandler
from spec2nexus.utils import strip_first_word
from spec2nexus import eznx, utils
from spec2nexus import eznx
from lxml import etree


Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: prjemian@gmail.com
# :copyright: (c) 2014, Pete R. Jemian
# :copyright: (c) 2014-2015, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
Expand Down

0 comments on commit 17854ea

Please sign in to comment.