Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Biometris
MCRA.DataConversionTools
Commits
e0e11c39
Commit
e0e11c39
authored
Jul 06, 2021
by
Hans van den Heuvel
Browse files
Updated code and readme
parent
4860cb61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Convert-EUProcessingFactorsDB/Convert-EUProcessingFactorsDB.py
View file @
e0e11c39
...
...
@@ -321,7 +321,7 @@ min_nr_of_mismatches = int(5)
mismatch_table_string
=
report_sheet
[
(
report_sheet
[
'Number of KeyFacets Codes'
]
>=
min_nr_of_mismatches
)
&
(
report_sheet
[
'Number of Matrix FoodEx2 Codes'
]
>=
min_nr_of_mismatches
)
].
to_markdown
(
show
index
=
False
)
].
to_markdown
(
index
=
False
)
# Dump the mismatch file
# We want a specific order in the columns:
...
...
@@ -422,7 +422,7 @@ Below a list with the most (more than '''+str(
Substance conversion duplicates
===============================
'''
+
double_types
.
to_markdown
(
show
index
=
False
)
+
r
'''
'''
+
double_types
.
to_markdown
(
index
=
False
)
+
r
'''
'''
dataset
.
references
.
close
()
...
...
Convert-EUProcessingFactorsDB/README.md
View file @
e0e11c39
...
...
@@ -4,7 +4,7 @@
### Solve all dependencies
```
pip install
pandas xlrd tabulate openpyxl requests
pip install
-r requirements.txt
```
### Run the script in trial (-x) and verbose (-v) mode
...
...
Convert-EUProcessingFactorsDB/requirements.txt
0 → 100644
View file @
e0e11c39
pandas
xlrd
tabulate
openpyxl
requests
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment