-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SIP type identification (#79) #84
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #84 +/- ##
==========================================
+ Coverage 59.79% 60.14% +0.34%
==========================================
Files 29 29
Lines 1965 1982 +17
==========================================
+ Hits 1175 1192 +17
+ Misses 697 696 -1
- Partials 93 94 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
288f53e
to
7b024c6
Compare
PR to fix/update the SIP type identification: #84 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @mcantelon!
internal/activities/transform_sip.go
Outdated
@@ -38,8 +38,8 @@ func (a *TransformSIP) Execute(ctx context.Context, params *TransformSIPParams) | |||
|
|||
// Move the Prozess_Digitalisierung_PREMIS.xml file to the PIP metadata | |||
// directory. Prozess_Digitalisierung_PREMIS.xml is only present in | |||
// digitized SIPs, and there can only be one dossier in a digitized SIP. | |||
if params.SIP.Type == enums.SIPTypeDigitizedSIP { | |||
// digitized SIPs/AIPs, and there can only be one dossier in a digitized SIP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SIP/AIP at the end too.
7b024c6
to
bb34504
Compare
Fixed and updated SIP type identification logic and updated related tests.
bb34504
to
5d924d9
Compare
Fixed and updated SIP type identification logic and updated related tests.