Coder Social home page Coder Social logo

criticalpy's Introduction

Critical Py

Critical Py provides classes and methods for calculating a critical path.

Setup

Run the following from your terminal:

setup.py install

Dependencies

Critical Py requires Python 3.0 or above

criticalpy's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

criticalpy's Issues

Problem when ading new task in input CSV

I have added a new task to the input CSV (example provided) and after this I get an error that apparently does not make sense to me:

File "/home/antonio/Escritorio/criticalpy/criticalpy.py", line 108, in calculate_late_start
self.late_start = self.late_finish - self.duration + 1
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

The CSV is the following (notice task with id 50 added to the list)

id,name,duration,predecessors
10,A,7,
20,B,10,10
25,B2,3,10
30,C,5,10
40,D,5,"20,30, 25"
50,E,3,10

Any idea? Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.