Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nexus
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
nexus
Commits
7660bebe
Commit
7660bebe
authored
6 years ago
by
Lloyd Carothers
Browse files
Options
Downloads
Patches
Plain Diff
Add entry ms_sum. Add dep pyqt5. Add requres py3.
parent
76b206e2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MANIFEST.in
+5
-1
5 additions, 1 deletion
MANIFEST.in
nexus/ms_sum.py
+4
-5
4 additions, 5 deletions
nexus/ms_sum.py
setup.py
+3
-0
3 additions, 0 deletions
setup.py
with
12 additions
and
6 deletions
MANIFEST.in
+
5
−
1
View file @
7660bebe
...
@@ -12,6 +12,10 @@ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
...
@@ -12,6 +12,10 @@ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
# Custom
# Custom
# include qt ui files
# include qt ui files
recursive-include * *.ui
recursive-include nexus *.ui
# inculde SOH resps for PIC pool
recursive-include nexus/etc *
#recursive-include * *.png
#recursive-include * *.png
#recursive-include * *.qrc
#recursive-include * *.qrc
This diff is collapsed.
Click to expand it.
nexus/ms_sum.py
+
4
−
5
View file @
7660bebe
...
@@ -9,10 +9,10 @@ import os, sys
...
@@ -9,10 +9,10 @@ import os, sys
from
obspy.io.mseed.core
import
_is_mseed
from
obspy.io.mseed.core
import
_is_mseed
from
obspy.io.mseed
import
util
from
obspy.io.mseed
import
util
from
obspyImproved
import
InventoryIm
from
.
obspyImproved
import
InventoryIm
if
__name__
==
'
__
main
__
'
:
def
main
()
:
inv
=
InventoryIm
()
inv
=
InventoryIm
()
for
path
in
sys
.
argv
[
1
:]:
for
path
in
sys
.
argv
[
1
:]:
if
os
.
path
.
isfile
(
path
)
and
_is_mseed
(
path
):
if
os
.
path
.
isfile
(
path
)
and
_is_mseed
(
path
):
...
@@ -23,8 +23,7 @@ if __name__ == '__main__':
...
@@ -23,8 +23,7 @@ if __name__ == '__main__':
inv
.
add_from_record_info
(
rec
)
inv
.
add_from_record_info
(
rec
)
elif
os
.
path
.
isdir
(
path
):
elif
os
.
path
.
isdir
(
path
):
inv
.
scan_quick
(
path
,
log_message
=
lambda
x
:
None
)
inv
.
scan_quick
(
path
,
log_message
=
lambda
x
:
None
)
if
False
:
pass
inv
.
print_sum
()
inv
.
print_sum
()
if
False
:
pass
if
__name__
==
'
__main__
'
:
main
()
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
0
View file @
7660bebe
...
@@ -26,11 +26,14 @@ setup(
...
@@ -26,11 +26,14 @@ setup(
entry_points
=
{
entry_points
=
{
'
console_scripts
'
:
[
'
console_scripts
'
:
[
'
nexus=nexus.nexus:main
'
,
'
nexus=nexus.nexus:main
'
,
'
ms_sum=nexus.ms_sum:main
'
,
],
],
},
},
install_requires
=
[
install_requires
=
[
'
obspy
'
,
'
obspy
'
,
'
pyqt5>=5.6
'
,
],
],
python_requires
=
'
>=3
'
,
setup_requires
=
[],
setup_requires
=
[],
extras_require
=
{
extras_require
=
{
'
dev
'
:
[
'
dev
'
:
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment