Comments (4)
I'll look at this and pull the change into dev_four
as part of the 4.0 release
from gslab_python.
I found the bug. It's indeed interesting, so I document it here for GSLab posterity (especially for those working on Windows).
In Python 2.7 and subsequent, both of the following code snippets return True
:
velvet = "the world's behind you"
command = "%% Watch out %s"
command % velvet == "% Watch out the world's behind you"
command = "%% Watch out the world's behind you"
command == "%% Watch out the world's behind you"
Basically you need to escape the percent sign with another one only when you're doing a substitution, but not otherwise. This behaviour can make things very confusing when we need to call %STATAEXE%
from cmd
.
from gslab_python.
@lboxell please find only relevant pull request here. This bug is not related to gslab_python stata builder --- it rests entirely in the template's setup.py. Everything should work as intended now.
from gslab_python.
Pulled template branch. Issue closed!
from gslab_python.
Related Issues (20)
- #154 Installation is unsuccessful every other time HOT 3
- Missing import in matlab builder? HOT 2
- Remove unused argument in start_log HOT 2
- git-lfs command deprecated? HOT 6
- reading windows paths HOT 12
- Error parsing gslab_tools version HOT 4
- Fix hanging matlab errors HOT 27
- Remove mmh3 dependency HOT 1
- Create Mathematica builder HOT 13
- `cl_args` incorrectly passed to LaTeX builder
- SaveData for Python HOT 2
- SaveData log with NaNs for text colums HOT 1
- SaveData python future warning: .fillna()
- SaveData does not take pathlib paths
- SaveDat does not sortbykey HOT 2
- SaveData sends uninformative error messages when key column contains lists HOT 3
- SaveData does not move key columns to the left HOT 1
- SaveData improve .log readability HOT 1
- SaveData Unit Tests HOT 4
- SaveData move key column to the left HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gslab_python.