Skip to content

Commit

Permalink
fix formatting and remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaeng72 committed Oct 29, 2024
1 parent 5209bc5 commit 80fb07d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions umm-lib/resources/schema/echo10/MetadataCommon.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@
<xs:enumeration value="Parent Dataset"/>
<xs:enumeration value="Related Dataset"/>
<xs:enumeration value="Other"/>
<xs:enumeration value="IsPreviousVersionOf"/>
<xs:enumeration value="IsNewVersionOf"/>
<xs:enumeration value="IsPreviousVersionOf"/>
<xs:enumeration value="IsNewVersionOf"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Expand Down
4 changes: 2 additions & 2 deletions umm-spec-lib/resources/xml-schemas/echo10/MetadataCommon.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@
<xs:enumeration value="Parent Dataset"/>
<xs:enumeration value="Related Dataset"/>
<xs:enumeration value="Other"/>
<xs:enumeration value="IsPreviousVersionOf"/>
<xs:enumeration value="IsNewVersionOf"/>
<xs:enumeration value="IsPreviousVersionOf"/>
<xs:enumeration value="IsNewVersionOf"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
[cmr.umm-spec.versioning :as umm-spec-versioning]
[cmr.umm.dif.date-util :refer [parse-dif-end-date]]))

;; TODO how do we know which values are supported for this version?
(def coll-progress-mapping
"Mapping from values supported for DIF10 Data_Set_Progress to UMM CollectionProgress."
{"COMPLETE" "COMPLETE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2962,9 +2962,7 @@
;; Test the migration of collections from 1.16.7 to 1.16.6.
(deftest migrate-1-16-7-to-1-16-6
(are3 [expected sample-collection]
(let [_ (print "sample collection is -- ") ;; {:CollectionDataType LOW_LATENCY}
_ (print sample-collection)
result (vm/migrate-umm {} :collection "1.16.7" "1.16.6" sample-collection)]
(let [result (vm/migrate-umm {} :collection "1.16.7" "1.16.6" sample-collection)]
(is (= expected (:CollectionDataType result))))

"Migrating CollectionDataType"
Expand Down Expand Up @@ -3921,4 +3919,4 @@
{:CollectionProgress "SUPERSEDED"
:MetadataSpecification {:URL "https://cdn.earthdata.nasa.gov/umm/collection/v1.18.2",
:Name "UMM-C",
:Version "1.18.2"}})
:Version "1.18.2"}})

0 comments on commit 80fb07d

Please sign in to comment.