Open main menu

Changes

Git asynchronous development

1,624 bytes added, 14:34, 24 June 2013
no edit summary
Or see last changes by
git log -p
 
=== Modification 2 ===
Then we modify, and add following
<source lang="python">
def read_list_intensity_seriestab(file_data=None, int_col=None):
"""Return the peak intensity information from the NMRPipe SeriesTab peak intensity file.
 
The residue number, heteronucleus and proton names, and peak intensity will be returned.
 
 
@keyword file_data: The data extracted from the file converted into a list of lists.
@type file_data: list of lists of str
@keyword int_col: The column containing the peak intensity data (for a non-standard formatted file).
@type int_col: int
@raises RelaxError: When the expected peak intensity is not a float.
@return: The extracted data as a list of lists. The first dimension corresponds to the spin. The second dimension consists of the proton name, heteronucleus name, residue number, the intensity value, and the original line of text.
@rtype: list of lists of str, str, int, float, str
"""
</source>
Then we make a patch
git diff > nmrpipe2
We add the change to be recorded
git add lib/software/nmrpipe.py
Then we commit
git commit
commit message. See [[Format_commit_logs]].
<source lang="text">
Added doc string in lib.software.nmrpipe.py.
 
Progress sr #3043: (https://gna.org/support/index.php?3043) Support for NMRPipe seriesTab format *.ser
 
Doc string and variables for read_list_intensity_seriestab() function in lib.software.nmrpipe.py is provided.
 
</source>
To see the commit message
git log
If you would like to replace the last commit info
git commit --amend
Or see last changes by
git log -p
 
== See also ==
[[Category:Git]]