a2p2 0.7.3__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {a2p2-0.7.3/a2p2.egg-info → a2p2-0.7.4}/PKG-INFO +15 -9
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/version.py +23 -35
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/facility.py +9 -2
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/pionier.py +0 -3
- {a2p2-0.7.3 → a2p2-0.7.4/a2p2.egg-info}/PKG-INFO +15 -9
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2.egg-info/SOURCES.txt +1 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2.egg-info/entry_points.txt +0 -1
- a2p2-0.7.4/pyproject.toml +43 -0
- a2p2-0.7.4/setup.py +19 -0
- a2p2-0.7.3/setup.py +0 -44
- {a2p2-0.7.3 → a2p2-0.7.4}/LICENSE +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/MANIFEST.in +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/README.rst +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/__init__.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/__main__.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/chara/__init__.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/chara/facility.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/chara/gui.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/client.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/facility.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/gui.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/instrument.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/__init__.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/catalogs.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/generated_models.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/models.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/services.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/utils.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/jmmc/webservices.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/ob.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/samp.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/utils.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/__init__.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/GRAVITY_ditTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/GRAVITY_rangeTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/MATISSE_ditTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/MATISSE_rangeTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/PIONIER_ditTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/conf/PIONIER_rangeTable.json +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/gravity.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/gui.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/instrument.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2/vlti/matisse.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2.egg-info/dependency_links.txt +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2.egg-info/requires.txt +1 -1
- {a2p2-0.7.3 → a2p2-0.7.4}/a2p2.egg-info/top_level.txt +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/setup.cfg +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/test/test_jmmc_catalog.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/test/test_jmmc_models.py +0 -0
- {a2p2-0.7.3 → a2p2-0.7.4}/test/test_test.py +0 -0
@@ -1,19 +1,27 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: a2p2
|
3
|
-
Version: 0.7.
|
4
|
-
|
5
|
-
Home-page: http://www.jmmc.fr/a2p2
|
6
|
-
Author: JMMC Tech Group
|
7
|
-
Author-email: jmmc-tech-group@jmmc.fr
|
3
|
+
Version: 0.7.4
|
4
|
+
Author-email: JMMC Tech Group <jmmc-tech-group@jmmc.fr>
|
8
5
|
License: OSI Approved :: GNU General Public License v3 (GPLv3)
|
9
|
-
|
10
|
-
|
6
|
+
Project-URL: Homepage, https://www.jmmc.fr/a2p2
|
7
|
+
Project-URL: Bug Reports, https://github.com/JMMC-OpenDev/a2p2/issues
|
8
|
+
Project-URL: Source, https://github.com/JMMC-OpenDev/a2p2
|
9
|
+
Keywords: observation,optical-interferometry,p2,preparation,samp,tool
|
11
10
|
Classifier: Development Status :: 4 - Beta
|
12
11
|
Classifier: Intended Audience :: Developers
|
13
12
|
Classifier: Programming Language :: Python :: 3
|
14
13
|
Classifier: Programming Language :: Python :: 3.6
|
15
14
|
Requires-Python: >=3
|
15
|
+
Description-Content-Type: text/x-rst
|
16
16
|
License-File: LICENSE
|
17
|
+
Requires-Dist: appdirs
|
18
|
+
Requires-Dist: astropy>=5.2.2
|
19
|
+
Requires-Dist: p2api
|
20
|
+
|
21
|
+
a2p2 |A2P2Badge|
|
22
|
+
================
|
23
|
+
|
24
|
+
**Move your Aspro2 observation details to an observatory proposal database.**
|
17
25
|
|
18
26
|
Description
|
19
27
|
-----------
|
@@ -113,5 +121,3 @@ Interaction diagram
|
|
113
121
|
.. _a2p2: http://www.jmmc.fr/a2p2
|
114
122
|
.. _tutorial: https://github.com/JMMC-OpenDev/a2p2/wiki/ASPRO2-A2P2-Tutorial
|
115
123
|
.. _issue: https://github.com/JMMC-OpenDev/a2p2/issues
|
116
|
-
|
117
|
-
|
@@ -1,45 +1,39 @@
|
|
1
|
-
__version__ = "0.7.
|
1
|
+
__version__ = "0.7.4"
|
2
2
|
|
3
3
|
__release_notes__ = {
|
4
4
|
# "0.1.6": {
|
5
|
-
# "STATUS":[
|
6
|
-
# "This version get lot of changes and may contain bugs or missing features, please provide any feedback to improve and prepare a better future release !"
|
7
|
-
# ],
|
8
5
|
# "A2P2": [
|
9
|
-
#
|
10
6
|
# ],
|
11
7
|
# "VLTI": [
|
12
|
-
#
|
13
8
|
# ],
|
14
9
|
# "CHARA": [
|
15
|
-
#
|
16
|
-
# ],
|
17
|
-
# "TODO-SCIENCE": [
|
18
|
-
#
|
19
|
-
# ],
|
20
|
-
# "TODO-DEV": [
|
21
|
-
#
|
22
10
|
# ],
|
23
11
|
# },
|
24
|
-
|
12
|
+
#
|
13
|
+
# "TODO-SCIENCE": [
|
14
|
+
# "Merge AO or GS in a same code section for every instruments",
|
15
|
+
# "Check DIT table from the last template user manuals (especially MATISSE) and remove PIONIER's one",
|
16
|
+
# "flag ~important~ keywords which MUST be set in a2p2 code and not leaved to there default values?",
|
17
|
+
# ],
|
18
|
+
# "TODO-DEV": [
|
19
|
+
# "Support multiple period version (two major at least)",
|
20
|
+
# "Support numlist keyword : eg. SEQ.HWPOFF (done in conf but must be range check compatible)",
|
21
|
+
# "Unify ob name creation in vlti instrument createOB()",
|
22
|
+
# "Complete test suite with more real p2 submissions",
|
23
|
+
# "Try to read OB in P2 and send them back to Aspro2 as a new obs",
|
24
|
+
# ],
|
25
|
+
|
26
|
+
"0.7.4": {
|
27
|
+
"A2P2": [
|
28
|
+
"Use pyproject.toml for python installation",
|
29
|
+
],"VLTI": [
|
30
|
+
"Do not switch PIONIER mode to FREE when the magnitude of the IAS star is too high : an error may be provided by p2"
|
31
|
+
],
|
32
|
+
},"0.7.3": {
|
25
33
|
"CHARA": [
|
26
34
|
"Better reuse of last working queueserver"
|
27
35
|
],
|
28
|
-
"TODO-SCIENCE": [
|
29
|
-
"Merge AO or GS in a same code section for every instruments",
|
30
|
-
"Check DIT table from the last template user manuals (especially MATISSE) and remove PIONIER's one",
|
31
|
-
"flag ~important~ keywords which MUST be set in a2p2 code and not leaved to there default values?",
|
32
|
-
],
|
33
|
-
"TODO-DEV": [
|
34
|
-
"Support multiple period version (two major at least)",
|
35
|
-
"Support numlist keyword : eg. SEQ.HWPOFF (done in conf but must be range check compatible)",
|
36
|
-
"Unify ob name creation in vlti instrument createOB()",
|
37
|
-
"Complete test suite with more real p2 submissions",
|
38
|
-
"Try to read OB in P2 and send them back to Aspro2 as a new obs",
|
39
|
-
],
|
40
36
|
},"0.7.2": {
|
41
|
-
"STATUS": [
|
42
|
-
],
|
43
37
|
"A2P2": [
|
44
38
|
"Auto update chara queueserver preference",
|
45
39
|
"a2p2 -r generates release-notes.md (rendered on a2p2 repository)"
|
@@ -51,8 +45,6 @@ __release_notes__ = {
|
|
51
45
|
"Support and try every queueserver's Urls comma separated from the queuserver user preference"
|
52
46
|
],
|
53
47
|
},"0.7.1": {
|
54
|
-
"STATUS": [
|
55
|
-
],
|
56
48
|
"A2P2": [
|
57
49
|
"Fix ttk import on MacOS",
|
58
50
|
],
|
@@ -65,8 +57,6 @@ __release_notes__ = {
|
|
65
57
|
"Display log of received OB also for calibrators"
|
66
58
|
]
|
67
59
|
},"0.6.9": {
|
68
|
-
"STATUS": [
|
69
|
-
],
|
70
60
|
"A2P2": [
|
71
61
|
"ctrl-c support improved to qui a2p2 from terminal",
|
72
62
|
],
|
@@ -94,8 +84,6 @@ __release_notes__ = {
|
|
94
84
|
"Experimental: forward OBs through json payload to the location defined in preference",
|
95
85
|
],
|
96
86
|
},"0.6.4": {
|
97
|
-
"STATUS": [
|
98
|
-
],
|
99
87
|
"A2P2": [
|
100
88
|
"Fix import that may break run on windows..."
|
101
89
|
],
|
@@ -238,7 +226,7 @@ __release_notes__ = {
|
|
238
226
|
],
|
239
227
|
},
|
240
228
|
"0.2.14": {
|
241
|
-
"
|
229
|
+
"A2P2": [
|
242
230
|
"BugFix: ask for container Name only if one is selected"
|
243
231
|
],
|
244
232
|
},
|
@@ -191,10 +191,17 @@ class VltiFacility(Facility):
|
|
191
191
|
instrument = self.getInstrument(o.instrumentConfiguration.name)
|
192
192
|
instrument.checkOB(o)
|
193
193
|
# check for warnings and abort if requested by user
|
194
|
+
# this implementation should be more detailled so we can have various VERSION associated to various warning
|
194
195
|
if len(instrument.warnings)>0:
|
195
196
|
linesep="\n - "
|
196
|
-
|
197
|
-
|
197
|
+
header=""
|
198
|
+
try:
|
199
|
+
# some ditTable may have a VERSION entry some not...
|
200
|
+
version=instrument.getDitTable()["VERSION"]
|
201
|
+
header= f"According to the template manual {version} :\n \n - \n"
|
202
|
+
except:
|
203
|
+
pass
|
204
|
+
answer = self.ui.AskYesNoMessage(f"{header} {linesep.join(instrument.warnings)}\n\nClick \"Yes\" to proceed \"No\" to abort the submission")
|
198
205
|
instrument.warnings.clear()
|
199
206
|
if answer == False:
|
200
207
|
self.ui.addToLog("Submission has been marked to be aborted - do not proceed")
|
@@ -124,9 +124,6 @@ class Pionier(VltiInstrument):
|
|
124
124
|
else:
|
125
125
|
obConstraints.skyTransparency = 'Clear'
|
126
126
|
|
127
|
-
if acqTSF.ISS_IAS_HMAG > 7.5:
|
128
|
-
acqTSF.INS_DISP_NAME = "FREE"
|
129
|
-
|
130
127
|
# FIXME: error (OB): "Phase 2 constraints must closely follow what was requested in the Phase 1 proposal.
|
131
128
|
# The seeing value allowed for this OB is >= java0x0 arcsec."
|
132
129
|
# FIXME REPLACE SEEING THAT IS NO MORE SUPPORTED
|
@@ -1,19 +1,27 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: a2p2
|
3
|
-
Version: 0.7.
|
4
|
-
|
5
|
-
Home-page: http://www.jmmc.fr/a2p2
|
6
|
-
Author: JMMC Tech Group
|
7
|
-
Author-email: jmmc-tech-group@jmmc.fr
|
3
|
+
Version: 0.7.4
|
4
|
+
Author-email: JMMC Tech Group <jmmc-tech-group@jmmc.fr>
|
8
5
|
License: OSI Approved :: GNU General Public License v3 (GPLv3)
|
9
|
-
|
10
|
-
|
6
|
+
Project-URL: Homepage, https://www.jmmc.fr/a2p2
|
7
|
+
Project-URL: Bug Reports, https://github.com/JMMC-OpenDev/a2p2/issues
|
8
|
+
Project-URL: Source, https://github.com/JMMC-OpenDev/a2p2
|
9
|
+
Keywords: observation,optical-interferometry,p2,preparation,samp,tool
|
11
10
|
Classifier: Development Status :: 4 - Beta
|
12
11
|
Classifier: Intended Audience :: Developers
|
13
12
|
Classifier: Programming Language :: Python :: 3
|
14
13
|
Classifier: Programming Language :: Python :: 3.6
|
15
14
|
Requires-Python: >=3
|
15
|
+
Description-Content-Type: text/x-rst
|
16
16
|
License-File: LICENSE
|
17
|
+
Requires-Dist: appdirs
|
18
|
+
Requires-Dist: astropy>=5.2.2
|
19
|
+
Requires-Dist: p2api
|
20
|
+
|
21
|
+
a2p2 |A2P2Badge|
|
22
|
+
================
|
23
|
+
|
24
|
+
**Move your Aspro2 observation details to an observatory proposal database.**
|
17
25
|
|
18
26
|
Description
|
19
27
|
-----------
|
@@ -113,5 +121,3 @@ Interaction diagram
|
|
113
121
|
.. _a2p2: http://www.jmmc.fr/a2p2
|
114
122
|
.. _tutorial: https://github.com/JMMC-OpenDev/a2p2/wiki/ASPRO2-A2P2-Tutorial
|
115
123
|
.. _issue: https://github.com/JMMC-OpenDev/a2p2/issues
|
116
|
-
|
117
|
-
|
@@ -0,0 +1,43 @@
|
|
1
|
+
[build-system]
|
2
|
+
requires = ["setuptools"]
|
3
|
+
build-backend = "setuptools.build_meta"
|
4
|
+
|
5
|
+
[project]
|
6
|
+
name = "a2p2"
|
7
|
+
dynamic = ["version", "description"]
|
8
|
+
#version = "1.2.3"
|
9
|
+
#description = ["description"]
|
10
|
+
readme = "README.rst"
|
11
|
+
license = { "text" = "OSI Approved :: GNU General Public License v3 (GPLv3)" }
|
12
|
+
requires-python = ">=3"
|
13
|
+
authors = [
|
14
|
+
{ name = "JMMC Tech Group", email = "jmmc-tech-group@jmmc.fr" },
|
15
|
+
]
|
16
|
+
keywords = [
|
17
|
+
"observation",
|
18
|
+
"optical-interferometry",
|
19
|
+
"p2",
|
20
|
+
"preparation",
|
21
|
+
"samp",
|
22
|
+
"tool",
|
23
|
+
]
|
24
|
+
classifiers = [
|
25
|
+
"Development Status :: 4 - Beta",
|
26
|
+
"Intended Audience :: Developers",
|
27
|
+
"Programming Language :: Python :: 3",
|
28
|
+
"Programming Language :: Python :: 3.6",
|
29
|
+
]
|
30
|
+
dependencies = [
|
31
|
+
"appdirs",
|
32
|
+
"astropy>=5.2.2",
|
33
|
+
"p2api",
|
34
|
+
]
|
35
|
+
|
36
|
+
[project.scripts]
|
37
|
+
a2p2 = "a2p2.__main__:main"
|
38
|
+
|
39
|
+
[project.urls]
|
40
|
+
Homepage = "https://www.jmmc.fr/a2p2"
|
41
|
+
"Bug Reports" = "https://github.com/JMMC-OpenDev/a2p2/issues"
|
42
|
+
Source = "https://github.com/JMMC-OpenDev/a2p2"
|
43
|
+
|
a2p2-0.7.4/setup.py
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
from setuptools import setup, find_packages
|
2
|
+
|
3
|
+
with open('README.rst') as README:
|
4
|
+
long_description = README.read()
|
5
|
+
description = long_description[
|
6
|
+
:long_description.index('Description')].split("*")[1].strip()
|
7
|
+
|
8
|
+
versions = {}
|
9
|
+
with open("a2p2/version.py") as fp:
|
10
|
+
exec(fp.read(), versions)
|
11
|
+
|
12
|
+
setup(
|
13
|
+
version=versions['__version__'],
|
14
|
+
description=description
|
15
|
+
# not yet moved to pyproject.toml
|
16
|
+
# packages=find_packages(),
|
17
|
+
# include_package_data=True,
|
18
|
+
# keywords='observation preparation tool optical-interferometry p2 samp'
|
19
|
+
)
|
a2p2-0.7.3/setup.py
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
from setuptools import setup, find_packages
|
2
|
-
|
3
|
-
with open('README.rst') as README:
|
4
|
-
long_description = README.read()
|
5
|
-
description = long_description[
|
6
|
-
:long_description.index('Description')].split("*")[1].strip()
|
7
|
-
long_description = long_description[long_description.index('Description'):]
|
8
|
-
|
9
|
-
version = {}
|
10
|
-
with open("a2p2/version.py") as fp:
|
11
|
-
exec(fp.read(), version)
|
12
|
-
|
13
|
-
setup(
|
14
|
-
name='a2p2',
|
15
|
-
version=version['__version__'],
|
16
|
-
python_requires='>=3',
|
17
|
-
description=description,
|
18
|
-
long_description=long_description,
|
19
|
-
# install_requires=['astropy', 'p2api','pygtk'],
|
20
|
-
# PyGtk is not working on some linux
|
21
|
-
# anaconda also fails
|
22
|
-
# prefere the use of your default python packages on your linux
|
23
|
-
# what is the solution for mac ?
|
24
|
-
# we continue moving tk as first gui backend
|
25
|
-
# install_requires=['astropy', 'p2api', 'python-tk'] + (['pygtk'] if
|
26
|
-
# platform.startswith("win") else []),
|
27
|
-
install_requires=['astropy>=5.2.2', 'p2api', 'appdirs'],
|
28
|
-
url='http://www.jmmc.fr/a2p2',
|
29
|
-
author='JMMC Tech Group',
|
30
|
-
author_email='jmmc-tech-group@jmmc.fr',
|
31
|
-
classifiers=[
|
32
|
-
'Development Status :: 4 - Beta',
|
33
|
-
'Intended Audience :: Developers',
|
34
|
-
# 'Programming Language :: Python :: 2',
|
35
|
-
# 'Programming Language :: Python :: 2.7',
|
36
|
-
'Programming Language :: Python :: 3',
|
37
|
-
'Programming Language :: Python :: 3.6',
|
38
|
-
],
|
39
|
-
license='OSI Approved :: GNU General Public License v3 (GPLv3)',
|
40
|
-
packages=find_packages(),
|
41
|
-
include_package_data=True,
|
42
|
-
entry_points={'console_scripts': ['a2p2=a2p2.__main__:main']},
|
43
|
-
keywords='observation preparation tool optical-interferometry p2 samp'
|
44
|
-
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|