Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EdosL0Util
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
SIPS
EdosL0Util
Commits
a1789f48
Commit
a1789f48
authored
9 years ago
by
Greg Quinn
Browse files
Options
Downloads
Patches
Plain Diff
Remove test function; superceded by diff_crs
parent
c6c4df22
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edosl0util/crgen.py
+0
-10
0 additions, 10 deletions
edosl0util/crgen.py
with
0 additions
and
10 deletions
edosl0util/crgen.py
+
0
−
10
View file @
a1789f48
...
@@ -38,16 +38,6 @@ def diff_crs(real_file, generated_file):
...
@@ -38,16 +38,6 @@ def diff_crs(real_file, generated_file):
main
()
main
()
def
test_build_apid_info
():
# FIXME: build CR comparison into the CLI
calculated
=
build_cr
(
'
P1571289CRISSCIENCEAAT15320210920101.PDS
'
)
ingested
=
crio
.
read
(
'
P1571289CRISSCIENCEAAT15320210920100.PDS
'
)
insert_fake_cr_info
(
ingested
)
del
calculated
[
'
completion_time
'
]
# it seems CR completion time does not match PDS
del
ingested
[
'
completion_time
'
]
# creation time from the file name
assert
calculated
==
ingested
def
build_cr
(
pds_file
,
prev_pds_file
=
None
):
def
build_cr
(
pds_file
,
prev_pds_file
=
None
):
"""
Best-effort CR generation by scanning a PDS data file
"""
Best-effort CR generation by scanning a PDS data file
...
...
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