License

parent cf3a8e72
......@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Graduation Audit System Copyright (C) 2015-2016 Arman Sobhi and Saikiran Srirangapalli
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......@@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
\ No newline at end of file
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
"""
This file is part of Graduation Audit System.
Copyright (C) 2016 Saikiran Srirangapalli <saikiran1096@gmail.com>
Graduation Audit System is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Graduation Audit System is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Graduation Audit System. If not, see <http://www.gnu.org/licenses/>.
"""
"""
Contains various useful functions for use in
main_writer.py and req_writer.py.
......
#!/usr/bin/env python
"""
This file is part of Graduation Audit System.
Copyright (C) 2016 Saikiran Srirangapalli <saikiran1096@gmail.com>
Graduation Audit System is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Graduation Audit System is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Graduation Audit System. If not, see <http://www.gnu.org/licenses/>.
"""
"""
This program writes 'main.lp'.
Pass in a transcript in the specified csv format as a command line argument.
......
#!/usr/bin/env python3
#!/usr/bin/env python
"""
This file is part of Graduation Audit System.
Copyright (C) 2016 Saikiran Srirangapalli <saikiran1096@gmail.com>
Graduation Audit System is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Graduation Audit System is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Graduation Audit System. If not, see <http://www.gnu.org/licenses/>.
"""
"""
This program writes writes <bs/ba><major><year>req2.lp.
Pass in the degree major and year as command line arguments.
......@@ -7,7 +25,7 @@ Pass in the degree major and year as command line arguments.
from __future__ import print_function
import re
import sys
import gradaudit
def main():
"""
......@@ -25,9 +43,8 @@ def main():
prefix = "%s%s" % (major, year)
# Get list of courses from course.lp
with open('course.lp', 'r') as fil:
courses = re.findall('[a-z]+[0-9][0-9V][0-9]{2}', fil.read())
courses = gradaudit.get_courses()
with open(directory + prefix + 'req.lp', 'r') as fil:
req = file.read()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment