BUG: modified:   nsls2/core.py
BUG: nsls2/core.py nsls2/tests/test_core.py
DOC: PEP8 corrected