aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-31 16:28:05 +0200
committerThomas White <taw@physics.org>2021-03-31 16:28:05 +0200
commit5e17c1718234b2e7aea37cdb59081ed1d79e8914 (patch)
tree11df48102b1d341e6d550a39eaa5e8dab2d66df5
parent9301276365b0278b1ea4d2b515837a03aae0621a (diff)
FromFile indexer, stream2sol.py: Add/update copyright comments
-rw-r--r--libcrystfel/src/indexers/fromfile.c2
-rw-r--r--libcrystfel/src/indexers/fromfile.h2
-rwxr-xr-xscripts/stream2sol.py12
3 files changed, 16 insertions, 0 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c
index 782934d7..7fc502e2 100644
--- a/libcrystfel/src/indexers/fromfile.c
+++ b/libcrystfel/src/indexers/fromfile.c
@@ -3,6 +3,8 @@
*
* Perform indexing from solution file
*
+ * Copyright © 2020-2021 Max-Planck-Gesellschaft
+ * zur Förderung der Wissenschaften e.V.
* Copyright © 2021 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
diff --git a/libcrystfel/src/indexers/fromfile.h b/libcrystfel/src/indexers/fromfile.h
index 35f885f5..375a54e5 100644
--- a/libcrystfel/src/indexers/fromfile.h
+++ b/libcrystfel/src/indexers/fromfile.h
@@ -3,6 +3,8 @@
*
* Perform indexing from solution file
*
+ * Copyright © 2020-2021 Max-Planck-Gesellschaft
+ * zur Förderung der Wissenschaften e.V.
* Copyright © 2021 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
diff --git a/scripts/stream2sol.py b/scripts/stream2sol.py
index d913b32e..1a9f31ec 100755
--- a/scripts/stream2sol.py
+++ b/scripts/stream2sol.py
@@ -1,4 +1,16 @@
#!/usr/bin/env python
+
+# Create solution file for '--indexing=file' from a stream
+#
+# Copyright © 2020-2021 Max-Planck-Gesellschaft
+# zur Förderung der Wissenschaften e.V.
+# Copyright © 2021 Deutsches Elektronen-Synchrotron DESY,
+# a research centre of the Helmholtz Association.
+#
+# Authors:
+# 2020 Pascal Hogan-Lamarre <pascal.hogan.lamarre@mail.utoronto.ca>
+# 2021 Thomas White <thomas.white@desy.de>
+
from io import StringIO
import re
from warnings import warn