Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor 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
schwede
ProMod3
Commits
3d59dc2f
Commit
3d59dc2f
authored
10 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Linking CMake documentation
parent
971374af
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake_support/doc/index.rst
+2
-0
2 additions, 0 deletions
cmake_support/doc/index.rst
doc/contributing.rst
+9
-7
9 additions, 7 deletions
doc/contributing.rst
extras/pre_commit/pm3_csc/filecheck/rest.py
+3
-1
3 additions, 1 deletion
extras/pre_commit/pm3_csc/filecheck/rest.py
with
14 additions
and
8 deletions
cmake_support/doc/index.rst
+
2
−
0
View file @
3d59dc2f
.. _pm3-cmake-doc:
|project|'s Share Of |cmake|
===============================================================================
...
...
This diff is collapsed.
Click to expand it.
doc/contributing.rst
+
9
−
7
View file @
3d59dc2f
...
...
@@ -169,10 +169,10 @@ tell it which files have to be considered packaging, compiling, etc.. Also
documentation. |cmake| is a rather complex topic (unfortunately all usable
build systems seem to be) so we skip a detailed view, here, and just advice you
to go by example. There is a tiny bit of documentation on our additions to
|cmake|
in the top-level :file:`cmake_support` directory
. If you really need to
make changes to the
build system, other than adding new files and modules, you
have to dive into
|cmake| documentation all by yourself and on your own
responsibility. You have
been warned.
|cmake|
:ref:`here <pm3-cmake-doc>`
. If you really need to
make changes to the
build system, other than adding new files and modules, you
have to dive into
|cmake| documentation all by yourself and on your own
responsibility. You have
been warned.
--------------------------------------------------------------------------------
The :file:`stage` Directory
...
...
@@ -191,7 +191,7 @@ tutorial on unit testing here. Again, have a look at how other modules treat
this topic and then there is quite a lot of educated material to be found on
the Internet. Nevertheless, here is a short list of most important advices:
* Tests go into dedicated scripts in the :file:`tests` directory
* Tests go into dedicated scripts
/ source files
in the :file:`tests` directory
* No external data dependencies, if tests need data, they find it in
:file:`tests/data`
* If 'exotic' |python| modules are used, consider making the test aware of the
...
...
@@ -431,7 +431,7 @@ top level :file:`CMakeLists.txt`:
COMPONENTS io mol seq seq_alg mol_alg conop)
find_package(QMEAN 1.0 REQUIRED)
#The KIC loop closing algorithm requires a solver for a generali
z
ed eigen
#The KIC loop closing algorithm requires a solver for a generali
s
ed eigen
#problem. Eigen3 would provide such a solver, but only allows to extract
#the resulting eigenvalues and not the eigenvectors.
#As soon as there is an Eigen3 release with the required functionality,
...
...
@@ -643,4 +643,6 @@ contributions to web pages using |project|.
.. LocalWords: changelog Optimized DOPTIMIZE gitignore cd conf subtree attr
.. LocalWords: unittest TestCase nameattr testcode staticmethod builtin cp
.. LocalWords: SomethingTests testFileExistsFalse testutils RunTests DQMEAN
.. LocalWords: pre
.. LocalWords: pre API inline CMake hh ProMod Bienchen OST OPENSTRUCTURE
.. LocalWords: mol alg conop QMEAN KIC eigen eigenvectors Lapack rawmodel
.. LocalWords: OpenStructure ost
This diff is collapsed.
Click to expand it.
extras/pre_commit/pm3_csc/filecheck/rest.py
+
3
−
1
View file @
3d59dc2f
...
...
@@ -24,9 +24,11 @@ class Rest(base.FileCheck):
if
re_head1
.
match
(
line
)
and
len
(
last_line
):
ma_title
=
re_title1
.
match
(
last_line
)
if
ma_title
:
wl_title
=
ma_title
.
group
(
1
).
split
()
wl_title
=
ma_title
.
group
(
1
).
split
(
'
()
'
)
for
wrd
in
wl_title
:
if
wrd
not
in
[
'
-
'
,
'
a
'
,
'
an
'
,
'
the
'
]
and
wrd
[
0
]
!=
'
|
'
:
if
re
.
match
(
r
'
:.+:`.+`
'
,
wrd
):
continue
if
not
wrd
[
0
].
isupper
():
pm3_csc
.
FailMsg
(
"
Line %d
"
%
(
self
.
current_line
-
1
)
+
"
seems to be a headline
"
+
...
...
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