-
Notifications
You must be signed in to change notification settings - Fork 5
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
update puvspr.dat entries [MARXAN-946] #1158
update puvspr.dat entries [MARXAN-946] #1158
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
thanks @angelhigueraacid!
all looks good - I have left a bunch of typo and minor comments.
the two main bits to consider more carefully are my comment about PuvsprDatLegacyProject.getLegacyAndMarxanFeatures()
and on whether we should add a FK from the calculations table to projects_pu
(at the expense of... an extra join or queries to get the value to write?)
...ps/api/src/migrations/api/1656497708461-AddGeoOperationHashAndGeoOperationToFeaturesTable.ts
Outdated
Show resolved
Hide resolved
api/apps/api/src/modules/features-hash/strip-single-split-config-feature-value.service.spec.ts
Show resolved
Hide resolved
api/apps/api/src/modules/features-hash/strip-single-split-config-feature-value.service.spec.ts
Show resolved
Hide resolved
api/apps/api/src/modules/features-hash/strip-single-split-config-feature-value.service.spec.ts
Show resolved
Hide resolved
api/apps/api/src/modules/scenarios/input-files/puvspr.dat.processor/puvspr.dat.processor.ts
Show resolved
Hide resolved
api/apps/api/test/integration/single-config-feature-value.hasher.e2e-spec.ts
Show resolved
Hide resolved
...apps/geoprocessing/src/migrations/geoprocessing/1655819134885-AddsPuvsprCalculationsTable.ts
Show resolved
Hide resolved
3ee09ca
to
504a7e7
Compare
This PR changes the way
puvspr.dat
file is generated. Now, the calculations are made once acreated specification
is made, for each of the features selected in the specification, the calculation will be performed and stored, in order to retrieve this results when creating puvspr.dat file.In case the project is a legacy project, no calculations will be performed for any feature within the specification. Also, this PR adds
SplitCreateFeatures
used for creating one feature per subset contained within a split feature.Another PR will be created for exporting and importing the puvspr_calculations made for project features.
Feature relevant tickets
update puvspr.dat entries only for changed/added/deleted features