Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
ea1eba70
Unverified
Commit
ea1eba70
authored
Jan 02, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Less strict
parent
4f9a6593
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
CMakeLists.txt
+1
-1
changelog
+4
-0
src/mkdssp.cpp
+7
-6
No files found.
CMakeLists.txt
View file @
ea1eba70
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
cmake_minimum_required
(
VERSION 3.15
)
cmake_minimum_required
(
VERSION 3.15
)
# set the project name
# set the project name
project
(
mkdssp VERSION 4.2.
0
LANGUAGES CXX
)
project
(
mkdssp VERSION 4.2.
1
LANGUAGES CXX
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
changelog
View file @
ea1eba70
Version 4.2.1
- The previous version was a bit overly strict
- Introduce a --quiet flag.
Version 4.2.0
Version 4.2.0
- Changes for packaging
- Changes for packaging
- New mmCIF DSSP output, added several categories
- New mmCIF DSSP output, added several categories
...
...
src/mkdssp.cpp
View file @
ea1eba70
...
@@ -81,6 +81,7 @@ int d_main(int argc, const char *argv[])
...
@@ -81,6 +81,7 @@ int d_main(int argc, const char *argv[])
mcfp
::
make_option
(
"help,h"
,
"Display help message"
),
mcfp
::
make_option
(
"help,h"
,
"Display help message"
),
mcfp
::
make_option
(
"version"
,
"Print version"
),
mcfp
::
make_option
(
"version"
,
"Print version"
),
mcfp
::
make_option
(
"verbose,v"
,
"verbose output"
),
mcfp
::
make_option
(
"verbose,v"
,
"verbose output"
),
mcfp
::
make_option
(
"quiet"
,
"Reduce verbose output to a minimum"
),
mcfp
::
make_hidden_option
<
int
>
(
"debug,d"
,
"Debug level (for even more verbose output)"
));
mcfp
::
make_hidden_option
<
int
>
(
"debug,d"
,
"Debug level (for even more verbose output)"
));
...
@@ -112,7 +113,10 @@ int d_main(int argc, const char *argv[])
...
@@ -112,7 +113,10 @@ int d_main(int argc, const char *argv[])
exit
(
1
);
exit
(
1
);
}
}
cif
::
VERBOSE
=
config
.
count
(
"verbose"
);
if
(
config
.
count
(
"quiet"
))
cif
::
VERBOSE
=
-
1
;
else
cif
::
VERBOSE
=
config
.
count
(
"verbose"
);
// --------------------------------------------------------------------
// --------------------------------------------------------------------
...
@@ -138,11 +142,8 @@ int d_main(int argc, const char *argv[])
...
@@ -138,11 +142,8 @@ int d_main(int argc, const char *argv[])
}
}
cif
::
file
f
=
cif
::
pdb
::
read
(
in
);
cif
::
file
f
=
cif
::
pdb
::
read
(
in
);
if
(
not
f
.
is_valid
())
if
(
cif
::
VERBOSE
>=
0
and
not
f
.
is_valid
())
{
std
::
cerr
<<
"Warning, the input file is not valid. Run with --verbose to see why."
<<
std
::
endl
;
std
::
cerr
<<
"Could not validate file"
<<
std
::
endl
;
exit
(
1
);
}
// --------------------------------------------------------------------
// --------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
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