Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major refactor to Python v3 #59

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[flake8]
exclude =
.git,
__pycache__,
archive,

# E501 line too long
max-line-length = 115
ignore: E226,E203,E402,E501,E741,F401,F403,W503,W504,W605
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# test data
data/test_calc.h5

# Python 2
*.pyc

# APS IT
.loglogin

# Eclipse configuration
.pydevproject
.project

# Microsoft VisualStudio Code editor
.vscode*/
Expand Down
16 changes: 0 additions & 16 deletions .project

This file was deleted.

12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# README for USAXS `livedata`

Manage the display of live USAXS data at: https://usaxslive.xray.aps.anl.gov/

The main code here is *pvwatch.py*. It monitors EPICS PVs
(described in *pvlist.xml*) and writes files in the local
WWW server directory. It can be started and stopped by
the `Makefile` (for manual control) or the `manage.csh` script
for automated startup in a cron task, `/etc/init.d`, or similar.

Another code module, *buildSpecPlots.sh*, crawls a set of
subdirectories, looking for data files and plotting
all scans using defaults (last column *vs.* first column).

NOTE: [v1 code documentation](archive/docs/index.md)
119 changes: 0 additions & 119 deletions archive/compare_centers.py

This file was deleted.

77 changes: 0 additions & 77 deletions archive/dirWatch.py

This file was deleted.

61 changes: 0 additions & 61 deletions archive/docs/dirWatch.html

This file was deleted.

Loading