Giter VIP home page Giter VIP logo

mmhlca's Introduction

mmhlca's People

Contributors

michaelweinold avatar

Watchers

 avatar  avatar

mmhlca's Issues

Debugging always breaks in `site-packages/IPython/core/interactiveshell.py`

import os
import sys
pyspa_local_path = os.path.join(
    os.path.expanduser("~"),
    "github/pyspa"
)
sys.path.append(pyspa_local_path)

and setting a breakpoint ("๐Ÿ”ด") in ~/github/pyspa/pyspa.py:

def get_spa(
   target_ID: int,
   max_stage: int,
   a_matrix, infosheet,
   thresholds,
   thresholds_as_percentages=False,
   interactive=False,
   breakdown_remainder=True,
   zero_indexing=False
) -> SupplyChain:

(...)

   interface_keywords_dict = _populate_interface_keyword_args_dict(a_matrix, infosheet, thresholds)
   interface = Interface(**interface_keywords_dict)

๐Ÿ”ด if not zero_indexing:
       target = target_ID - 1  # need to remove 1 to align with 0-indexing in python
   else:
       target = target_ID

Somehow ends up stepping into (among other libraries) sys.excepthook = old_excepthook:

sys.excepthook = old_excepthook

cf. also: microsoft/vscode-jupyter#9815

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.