Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soitool
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
Container Registry
Model registry
Operate
Environments
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
bachelor-paa-bittet
soitool
Merge requests
!52
#82 Cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#82 Cleanup
cleanup
into
master
Overview
26
Commits
33
Pipelines
19
Changes
14
Merged
Nikolai Mork
requested to merge
cleanup
into
master
5 years ago
Overview
24
Commits
33
Pipelines
19
Changes
14
Expand
Følgende er gjort:
Lagt til raises i docsrings
Endret fra partial til lambda ved connect av funksjoner
Endret til konsistent bruk av portait/landscape
Brukt rowfactory for å øke leslighet av kode
Endret til stor forbokstav på kommentarer
Lagt til luft i funksjoner som trengte det
Øvrige innfallende justeringer
Edited
5 years ago
by
Thomas Holene Løkkeborg
0
0
Merge request reports
Compare
master
version 18
5e9351a2
5 years ago
version 17
f524ea4f
5 years ago
version 16
f133785f
5 years ago
version 15
72257f2e
5 years ago
version 14
9dc510b7
5 years ago
version 13
b1f3a2c4
5 years ago
version 12
f694e623
5 years ago
version 11
3dd39faf
5 years ago
version 10
a88bacb5
5 years ago
version 9
3db8bb17
5 years ago
version 8
8ca456c3
5 years ago
version 7
99ce09fc
5 years ago
version 6
ed03429e
5 years ago
version 5
81726ff9
5 years ago
version 4
6af7a45d
5 years ago
version 3
8bb3f1d0
5 years ago
version 2
1d3f7dcf
5 years ago
version 1
4031fbf5
5 years ago
master (base)
and
latest version
latest version
1182ae59
33 commits,
5 years ago
version 18
5e9351a2
32 commits,
5 years ago
version 17
f524ea4f
31 commits,
5 years ago
version 16
f133785f
29 commits,
5 years ago
version 15
72257f2e
28 commits,
5 years ago
version 14
9dc510b7
27 commits,
5 years ago
version 13
b1f3a2c4
26 commits,
5 years ago
version 12
f694e623
25 commits,
5 years ago
version 11
3dd39faf
24 commits,
5 years ago
version 10
a88bacb5
23 commits,
5 years ago
version 9
3db8bb17
22 commits,
5 years ago
version 8
8ca456c3
21 commits,
5 years ago
version 7
99ce09fc
20 commits,
5 years ago
version 6
ed03429e
19 commits,
5 years ago
version 5
81726ff9
18 commits,
5 years ago
version 4
6af7a45d
17 commits,
5 years ago
version 3
8bb3f1d0
16 commits,
5 years ago
version 2
1d3f7dcf
15 commits,
5 years ago
version 1
4031fbf5
10 commits,
5 years ago
14 files
+
224
−
119
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
soitool/codebook_model_view.py
+
6
−
2
Options
@@ -23,7 +23,8 @@ class CodebookTableView(QTableView):
Parameters
----------
database : soitool.database.Database
Is used to create a QSqlDatabase from the database-file.
Should be an instance of soitool.database.Database, and is used to
create a QSqlDatabase from the database-file.
Raises
------
@@ -154,7 +155,10 @@ class CodebookTableModel(QSqlTableModel):
Allowed values for column
'
Type
'
are
'
Liten
'
and
'
Stor
'
.
This function ensures value is correctly cased.
Returns False if incorrect Type value, returns super otherwise.
Returns
-------
False if incorrect Type value, returns super otherwise.
"""
# If a change is made to column 'Type'
if
index
.
column
()
==
2
:
Loading