Skip to content

Conversation

@narayananr
Copy link
Contributor

I made two changes. On the lesson "Repeating Actions with Loops", I expanded the example a bit on looping through a string. And on the lesson "Analyzing Data from Multiple Files", the glob example was trying to "glob" the files that were not in student's working directory for the lesson. I changed it so that the "glob" will list of files in the student's working directory.

@abostroem
Copy link
Contributor

@narayananr thanks for these changes. The first change modifies a line that I just changed for a different pull request. Can you take a look and let me know what you think?

I also just changed this lesson to look at html files rather than csv files since we now keep the csv files in a data directory and students are generally working in the top level directory.

The third change is good, but can you change the word csv to html?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code below does not use the "data" directory, so maybe this should say "current" directory, since that's what it does.

@abostroem
Copy link
Contributor

@QuLogic I don't think it adds anything to the lesson for students to list CSV files in the data directory vs html files in the current directory and I think it adds a layer of complication (because they have to look in a different direction). Is there a reason you prefer the CSV files?

@QuLogic
Copy link
Contributor

QuLogic commented Jun 18, 2015

I think you meant to tag @narayananr; I didn't make that change.

@narayananr
Copy link
Contributor Author

Hi

I suggested the change because I had the same thought. This lesson

http://swcarpentry.github.io/python-novice-inflammation/04-files.html

currently, uses glob on "html" files, and few statements after it uses glob
on "csv" files on data directory. I just thought of making the glob
statement the same (either html or csv depending on the current working
directory). I might have made mistake assuming the working directory.

Thanks
Narayanan

On Thu, Jun 18, 2015 at 1:05 AM, Azalee Bostroem notifications@github.com
wrote:

@QuLogic https://github.com/QuLogic I don't think it adds anything to
the lesson for students to list CSV files in the data directory vs html
files in the current directory and I think it adds a layer of complication
(because they have to look in a different direction). Is there a reason you
prefer the CSV files?


Reply to this email directly or view it on GitHub
#108 (comment)
.

statkclee pushed a commit to statkclee/python-novice-inflammation that referenced this pull request Jan 4, 2016
Update License.md md5sum on tools/check based on 2f4703e
@tbekolay tbekolay merged commit c7de6a4 into swcarpentry:gh-pages Jun 21, 2016
@tbekolay
Copy link
Contributor

Somewhat improved versions of the .csv change have already been merged, but the expanded text on the print statements is a welcome change. Thanks @narayananr!

rgaiacs pushed a commit to rgaiacs/swc-python-novice-inflammation that referenced this pull request Feb 13, 2017
Starting to incorporate Library Carpentry materials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants