Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
geant-swd
compendium-v2
Commits
35b93a8d
Commit
35b93a8d
authored
1 year ago
by
Bjarke Madsen
Browse files
Options
Downloads
Patches
Plain Diff
Don't filter away invalid datapoints
parent
33e4ea32
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compendium_v2/publishers/survey_publisher_legacy_excel.py
+0
-4
0 additions, 4 deletions
compendium_v2/publishers/survey_publisher_legacy_excel.py
compendium_v2/publishers/survey_publisher_old_db_2022.py
+0
-4
0 additions, 4 deletions
compendium_v2/publishers/survey_publisher_old_db_2022.py
with
0 additions
and
8 deletions
compendium_v2/publishers/survey_publisher_legacy_excel.py
+
0
−
4
View file @
35b93a8d
...
@@ -37,10 +37,6 @@ def db_budget_migration(nren_dict):
...
@@ -37,10 +37,6 @@ def db_budget_migration(nren_dict):
abbrev
=
nren
.
abbreviation
.
upper
()
abbrev
=
nren
.
abbreviation
.
upper
()
year
=
budget
.
year
year
=
budget
.
year
if
(
year
==
2013
and
abbrev
==
'
JISC
'
)
or
(
year
==
2014
and
abbrev
==
'
GARR
'
):
# these are obviously invalid datapoints
continue
if
float
(
budget
.
budget
)
>
200
:
if
float
(
budget
.
budget
)
>
200
:
logger
.
warning
(
f
'
Incorrect Data:
{
abbrev
}
has budget set >200M EUR for
{
year
}
. (
{
budget
.
budget
}
)
'
)
logger
.
warning
(
f
'
Incorrect Data:
{
abbrev
}
has budget set >200M EUR for
{
year
}
. (
{
budget
.
budget
}
)
'
)
...
...
This diff is collapsed.
Click to expand it.
compendium_v2/publishers/survey_publisher_old_db_2022.py
+
0
−
4
View file @
35b93a8d
...
@@ -193,10 +193,6 @@ def transfer_budget(nren_dict):
...
@@ -193,10 +193,6 @@ def transfer_budget(nren_dict):
logger
.
info
(
f
'
{
nren_name
}
has no budget for 2022. Skipping. (
{
_budget
}
))
'
)
logger
.
info
(
f
'
{
nren_name
}
has no budget for 2022. Skipping. (
{
_budget
}
))
'
)
continue
continue
if
nren_name
==
'
BREN
'
:
# obviously invalid datapoint
continue
if
budget
>
200
:
if
budget
>
200
:
logger
.
info
(
f
'
{
nren_name
}
has budget set to >200M EUR for 2022. (
{
budget
}
)
'
)
logger
.
info
(
f
'
{
nren_name
}
has budget set to >200M EUR for 2022. (
{
budget
}
)
'
)
...
...
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