Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coursebox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
tuhe
coursebox
Commits
e26e2a43
Commit
e26e2a43
authored
2 years ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
Removed deprecated np.object reference
parent
fd7cfcfa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.py
+6
-2
6 additions, 2 deletions
setup.py
src/coursebox.egg-info/PKG-INFO
+1
-3
1 addition, 3 deletions
src/coursebox.egg-info/PKG-INFO
src/coursebox/core/projects_info.py
+2
-3
2 additions, 3 deletions
src/coursebox/core/projects_info.py
with
9 additions
and
8 deletions
setup.py
+
6
−
2
View file @
e26e2a43
# Use this guide:
# Use this guide:
# https://packaging.python.org/tutorials/packaging-projects/
# https://packaging.python.org/tutorials/packaging-projects/
# Use pipreqs.exe to get requirements list.
# Use pipreqs.exe to get requirements list.
# py -m build && twine upload dist/*
"""
Windows> py -m build && twine upload dist/*
Linux> python -m build && twine upload dist/*
"""
import
setuptools
import
setuptools
import
pkg_resources
import
pkg_resources
...
@@ -11,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
...
@@ -11,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
# beamer-slider
# beamer-slider
setuptools
.
setup
(
setuptools
.
setup
(
name
=
"
coursebox
"
,
name
=
"
coursebox
"
,
version
=
"
0.1.
7
"
,
version
=
"
0.1.
9
"
,
author
=
"
Tue Herlau
"
,
author
=
"
Tue Herlau
"
,
author_email
=
"
tuhe@dtu.dk
"
,
author_email
=
"
tuhe@dtu.dk
"
,
description
=
"
A course management system currently used at DTU
"
,
description
=
"
A course management system currently used at DTU
"
,
...
...
This diff is collapsed.
Click to expand it.
src/coursebox.egg-info/PKG-INFO
+
1
−
3
View file @
e26e2a43
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: coursebox
Name: coursebox
Version: 0.1.
6
Version: 0.1.
9
Summary: A course management system currently used at DTU
Summary: A course management system currently used at DTU
Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
Author: Tue Herlau
Author: Tue Herlau
Author-email: tuhe@dtu.dk
Author-email: tuhe@dtu.dk
License: MIT
License: MIT
Project-URL: Bug Tracker, https://lab.compute.dtu.dk/tuhe/coursebox/issues
Project-URL: Bug Tracker, https://lab.compute.dtu.dk/tuhe/coursebox/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Operating System :: OS Independent
...
@@ -46,4 +45,3 @@ Coursebox requires a specific directory structure. It is easier to start with an
...
@@ -46,4 +45,3 @@ Coursebox requires a specific directory structure. It is easier to start with an
year={2021},
year={2021},
}
}
```
```
This diff is collapsed.
Click to expand it.
src/coursebox/core/projects_info.py
+
2
−
3
View file @
e26e2a43
...
@@ -59,9 +59,8 @@ def parse_column_numpy(col, report_number, column):
...
@@ -59,9 +59,8 @@ def parse_column_numpy(col, report_number, column):
appr_comments
=
None
appr_comments
=
None
if
report_number
>
0
and
sn
:
if
report_number
>
0
and
sn
:
N
=
38
N
=
38
rarr
=
np
.
ndarray
(
shape
=
(
N
,
1
),
dtype
=
np
.
object
)
rarr
=
np
.
ndarray
(
shape
=
(
N
,
1
),
dtype
=
np
.
dtype
(
object
)
)
for
j
in
range
(
N
):
for
j
in
range
(
N
):
v
=
col
[
3
+
STUDENT_ID_ROW
+
j
-
1
]
#, column=column).value
v
=
col
[
3
+
STUDENT_ID_ROW
+
j
-
1
]
#, column=column).value
rarr
[
j
,
0
]
=
v
rarr
[
j
,
0
]
=
v
content
=
rarr
content
=
rarr
...
@@ -127,7 +126,7 @@ def parse_column(worksheet, report_number, column):
...
@@ -127,7 +126,7 @@ def parse_column(worksheet, report_number, column):
appr_comments
=
None
appr_comments
=
None
if
report_number
>
0
and
sn
:
if
report_number
>
0
and
sn
:
N
=
38
N
=
38
rarr
=
np
.
ndarray
(
shape
=
(
N
,
1
),
dtype
=
np
.
object
)
rarr
=
np
.
ndarray
(
shape
=
(
N
,
1
),
dtype
=
np
.
dtype
(
object
)
)
for
j
in
range
(
N
):
for
j
in
range
(
N
):
v
=
ws
.
cell
(
row
=
3
+
STUDENT_ID_ROW
+
j
,
column
=
column
).
value
v
=
ws
.
cell
(
row
=
3
+
STUDENT_ID_ROW
+
j
,
column
=
column
).
value
rarr
[
j
,
0
]
=
v
rarr
[
j
,
0
]
=
v
...
...
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