Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
kwant
kwant
Commits
557cd6d2
Commit
557cd6d2
authored
Jan 19, 2021
by
Christoph Groth
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'stable'
parents
b2a0688b
bd41cfd2
Pipeline
#49739
passed with stages
in 9 minutes and 58 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
doc/source/pre/whatsnew/1.4.rst
doc/source/pre/whatsnew/1.4.rst
+5
-1
kwant/physics/gauge.py
kwant/physics/gauge.py
+1
-1
No files found.
.gitlab-ci.yml
View file @
557cd6d2
...
...
@@ -10,7 +10,7 @@ stages:
variables
:
# rsync is used to send documentation to our web servers: we never send any
# secret information, and using 'ssh-keyscan' causes the CI server's IP to be blacklisted
IGNORE_HOSTKEY
:
"
ssh
-o
StrictHostKeyChecking=no
-o
UserKnownHostsFile=/dev/null"
SSH_COMMAND
:
"
ssh
-o
StrictHostKeyChecking=no
-o
UserKnownHostsFile=/dev/null"
## Building Docker environments
## Only runs when docker specifications change
...
...
@@ -265,7 +265,7 @@ upload coverage:
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mv htmlcov $CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
-
rsync -rlv -e "$
SSH_COMMAND
" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -283,7 +283,7 @@ remove_coverage:
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mkdir empty/
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
SSH_COMMAND
" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -300,7 +300,7 @@ upload documentation to the test server:
-
mkdir -p ~/.ssh
-
echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete doc/build/html/* kwant
@
kwant-project.org:doc/$CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
SSH_COMMAND
" --delete doc/build/html/* kwant
2@test.
kwant-project.org:doc/$CI_BUILD_REF_SLUG
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -318,7 +318,7 @@ remove_docs:
-
echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mkdir empty
-
rsync -arv -e "$
IGNORE_HOSTKEY
" --delete empty/ kwant
@
kwant-project.org:doc/$CI_BUILD_REF_SLUG/
-
rsync -arv -e "$
SSH_COMMAND
" --delete empty/ kwant
2@test.
kwant-project.org:doc/$CI_BUILD_REF_SLUG/
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -334,7 +334,7 @@ upload dev version docs:
-
mkdir -p ~/.ssh
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete doc/build/html/* kwant@kwant-project.org:doc/dev
-
rsync -rlv -e "$
SSH_COMMAND
" --delete doc/build/html/* kwant@kwant-project.org:doc/dev
after_script
:
-
rm -rf ~/.ssh
...
...
doc/source/pre/whatsnew/1.4.rst
View file @
557cd6d2
...
...
@@ -341,4 +341,8 @@ Changes in Kwant 1.4.1
Changes
in
Kwant
1.4.2
----------------------
-
Minor
bugfixes
of
the
KPM
module
and
qsymm
integration
.
-
Due
to
bugs
in
the
Qsymm
library
that
required
modifying
its
API
,
the
version
of
Qsymm
that
Kwant
depends
on
had
to
be
increased
from
1.1.2
to
1.2.6
.
SInce
Qsymm
is
an
optional
dependency
of
Kwant
,
this
backwards
-
incompatible
change
only
affects
Kwant
users
who
use
it
.
-
Minor
bugs
were
fixed
in
the
KPM
module
.
kwant/physics/gauge.py
View file @
557cd6d2
...
...
@@ -959,7 +959,7 @@ class magnetic_gauge:
>>>
>>> syst = make_system(hopping)
>>> lead = make_lead(hopping)
>>> lead.substituted(peierls='peierls_lead')
>>>
lead =
lead.substituted(peierls='peierls_lead')
>>> syst.attach_lead(lead)
>>> syst = syst.finalized()
>>>
...
...
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